Repository navigation
Ollama: undeclared thinking models get Off / High - #25
Merged
Merged
Conversation
EffortCatalog.noteThinking(provider:model:thinks:) records what a server reports (Ollama's /api/show capabilities). A model no row covers, on ollama or ollamaCloud, that thinks gets [off, high]; one that doesn't gets no levels, as before. Rows always win; other providers ignore it. Measured: every thinking model tried on Ollama/Ollama Cloud stops on Off and thinks on High (incl. a local qwen3:0.6b natively); intermediate levels were not distinguishable on several, so none are guessed. Co-Authored-By: Claude Opus 5.5 (1M context) <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.
EffortCatalog.noteThinking(provider:model:thinks:)records what a server reports (Ollama's/api/showcapabilities). An Ollama / Ollama Cloud model no row covers that thinks gets [Off, High]; one that doesn't gets no levels, as before. Declared rows always win; other providers ignore reports.Evidence: Off stops and High keeps thinking on every thinking model tried (glm-5.2, kimi-k3/k2.6/k2.7, deepseek-v4.1, minimax-m3 on Ollama Cloud; qwen3:0.6b natively). Intermediate levels were indistinguishable from the default on several, so none are guessed.
/api/showreportsthinkingon both ollama.com and local Ollama.Tests: 4 new (
ReportedThinkingTests); 182 pass.🤖 Generated with Claude Code