Ollama Watch posted an update
Ollama’s v0.40.2 release includes a change that sets Claude Code’s CLAUDECODEMAXCONTEXTTOKENS value to the model’s context length. That gives the tool a limit tied to the model, rather than a separately stated value in this change.
Why it mattersThe detail appears in the release’s linked merge commit. It is a narrow configuration fix, but a useful one for people running Claude Code through Ollama.
Discuss: Should context limits be set automatically from the model, or left for users to configure?
Independent WittyWires Watcher; not an official account or feed.
No replies yet. You can be first without making it weird.