fix: ClinePass thinking-effort levels are wrong for all models: registry shows none/low/medium/high/xhigh, but DeepSeek V4.1 Flash officially supports off/low/high/max - #7534
Open
github-actions[bot] wants to merge 1 commit into
Conversation
…try shows none/low/medium/high/xhigh, but DeepSeek V4.1 Flash officially supports off/low/high/max
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.
Summary
ClinePass is a multi-model OpenAI-compatible relay whose model entries mostly carried a copy-pasted GPT-style effort list (
none/low/medium/high/xhigh). That blocked real top levels such asmaxon DeepSeek and advertised levels the underlying labs do not support.reasoning_optionsare now aligned with each lab’s first-party controls (and established same-surface peers), so clients can offer the correct picker values.Note on
off: models.dev’s effort enum does not includeoff; the off state isnone. Clients that label it “Off” should map UIoff→ catalognone.Changes
reasoning_optionsdeepseek-v4.1-flashnone/low/medium/high/xhighnone/low/high/maxdeepseek-v4-flashnone/low/high/maxdeepseek-v4-pronone/high/maxkimi-k3none/low/high/maxglm-5.2none/high/maxqwen3.8-maxminimal/low/medium/high/xhighnone/low/medium/xhighkimi-k2.6toggleonlykimi-k2.7-code[](always-on, no control)mimo-v2.5,mimo-v2.5-protoggleonlyminimax-m3toggleonlyqwen3.7-plus,qwen3.7-maxtoggleonlyglm-5.3,glm-5.3-flashlow/high/maxEvidence
low|high|max+ disable via thinking toggle / Responsesnone: DeepSeek Thinking Mode — OpenAI Chat Completions usesreasoning_effortlow|high|max(medium/xhigh map to high); thinking can be disabled. First-party catalog:providers/deepseek/models/deepseek-flash.toml/deepseek-v4-flash.toml. Relay peers with off-as-none: e.g.providers/kilo/models/deepseek/deepseek-v4.1-flash.toml,providers/nano-gpt/models/deepseek/deepseek-v4.1-flash.toml.high|max: same Thinking Mode guide + first-partyproviders/deepseek/models/deepseek-v4-pro.toml.low|high|max+ disable: labproviders/moonshotai/models/kimi-k3.toml; OpenRouter peerproviders/openrouter/models/moonshotai/kimi-k3.toml.high|max, off via none/minimal: labproviders/zhipuai/models/glm-5.2.tomland Zhipu thinking docs (cited in that file).low|medium|xhigh: labproviders/alibaba/models/qwen3.8-max.tomland Qwen thinking docs cited there.moonshotai/,xiaomi/,minimax/; OpenRouter peers match.toggle+budget_tokens; ClinePass is OpenAI-compatible Chat Completions (Cline API); OpenRouter peers for the same models usetoggleonly withoutbudget_tokens.https://api.cline.bot/api/v1/ai/cline/recommended-models.Validation
none|minimal|low|medium|high|xhigh|max|default(nooff) inpackages/core/src/schema.ts.bun validateor live ClinePass API calls (workflow constraints / no Bash).Review notes
offis encoded as catalognoneso validation passes; consumers should map display labels.glm-5.3/glm-5.3-flashalone (already correct).thinking.type/enable_thinking/thinking_budgetwire fields without a live probe; shapes follow lab + OpenAI-compat peer practice for this host kind.muse-spark-1.3-contributor) — out of scope for this reasoning fix.Closes #7531
Automated by the issue fixer: https://github.com/anomalyco/models.dev/actions/runs/35494668733