Lower qwen local working window
ober
e170217f01b50ae972476b3066bf9f9c1cbe7adb
--- a/src/jcode/core/models.ss +++ b/src/jcode/core/models.ss @@ -464,7 +464,7 @@ ;; turns. jcode's estimator does not include the fixed tool-schema ;; overhead, so this is an effective working budget rather than the ;; model's architectural context window. - ((string-contains mid "qwen3-coder-next-mlx") 4096) + ((string-contains mid "qwen3-coder-next-mlx") 3072) ;; grok-build: Grok CLI proxy advertises a 512k context window in ;; ~/.grok/models_cache.json (info.context_window). Hardcode here so ;; the TUI ctx% bar has a value even before models_cache.json is read. --- a/test/run.ss +++ b/test/run.ss @@ -1821,7 +1821,7 @@ (check! "ctx window grok-build = 512000" (model-context-window "grok-build") 512000) (check! "ctx window grok-3 unaffected (no clause)" (model-context-window "grok-3") #f) (check! "ctx window qwen3-coder-next mlx conservative" - (model-context-window "/Users/user/models/qwen3-coder-next-mlx") 4096) + (model-context-window "/Users/user/models/qwen3-coder-next-mlx") 3072) (check! "ctx window generic qwen3 remains 32768" (model-context-window "qwen3:8b-q4_K_M") 32768)