Repository navigation
fix(triage): give deepseek-v4.1-flash:cloud its 1M context window - #6215
Merged
Merged
Conversation
The bot runs with --ollama_review deepseek-v4.1-flash:cloud, but only glm-5.3-flash:cloud was in OLLAMA_CONTEXT_TOKENS. Claude Code warned it did not recognise the model and assumed 200k, compacting early. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The triage daemon is running with
--ollama_review deepseek-v4.1-flash:cloud, and every bot session logged:claude_env()already setsCLAUDE_CODE_MAX_CONTEXT_TOKENSfor any model listed inOLLAMA_CONTEXT_TOKENS, but onlyglm-5.3-flash:cloudwas listed there. Sessions on the DeepSeek model therefore auto-compacted at 200k. Each compaction costs turns, the same route to "Reached max turns" that prompted the map in the first place.Change
deepseek-v4.1-flash:cloud: 1000000toOLLAMA_CONTEXT_TOKENSintools/triage_daemon.py.--ollama_reviewroute.deepseekto the cspell dictionary.Testing
python3 -m unittest test_triage_daemon: 360 tests OK.The daemon loads its settings once at startup, so it needs a restart after this merges.
🤖 Generated with Claude Code