Repository navigation
feat(cursor): expose the explicit-thinking model families - #2585
Conversation
The live roster carries 46 thinking wire ids across 13 families, and
isCursorModelAvailableForAccount matched none of them: it compares a base
id against {base}, {base}-{effort} and the family wire form, so every
-thinking variant was invisible in the routed catalog.
The marker's position is family-dependent and the wrong order is rejected
ERROR_BAD_MODEL_NAME, so cursorWireModelIdWithEffort now owns the mapping:
thinking-then-effort (claude-opus-5-thinking-high, ...-high-fast),
effort-then-thinking (claude-4.6-opus-max-thinking), and bare
(claude-4.5-sonnet-thinking, which has no effort rung).
Verified by composing every catalogued id/tier pair and checking it against
the live roster: 46 matched, 0 mismatched. Visible models rise 41 -> 52.
|
Warning Review limit reachedNext included review available in 6 minutes. View limit detailsLimit details: You’ve used all 10 included reviews currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (3)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
✅ Deterministic PR hygiene checks passed. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: bdc715020f
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| ...CURSOR_THINKING_MODEL_IDS.map(id => ({ | ||
| id, | ||
| contextWindow: CONTEXT_200K, | ||
| supportsReasoningEffort: cursorModelHasEffortTiers(id), |
There was a problem hiding this comment.
Classify text-only thinking variants before advertising images
For image-bearing requests to cursor/claude-4.6-opus-thinking—and likewise the 4.6 Sonnet, Opus 4.7, and Fable thinking families—these entries omit inputModalities, so normalizeCursorModels defaults them to ["text", "image"]; because they are also absent from CURSOR_NO_VISION_MODELS, the router bypasses the vision sidecar and sends SelectedImage directly. The canonical Cursor metadata classifies the corresponding wire models as text-only (for example, scripts/model-metadata.source.json:5829-5838 and 6266-6275), so classify each new family explicitly and route the text-only variants through the existing sidecar to avoid rejected or ignored image turns.
AGENTS.md reference: src/AGENTS.md:L18-L19
Useful? React with 👍 / 👎.
…2585) The live roster carries 46 thinking wire ids across 13 families, and isCursorModelAvailableForAccount matched none of them: it compares a base id against {base}, {base}-{effort} and the family wire form, so every -thinking variant was invisible in the routed catalog. The marker's position is family-dependent and the wrong order is rejected ERROR_BAD_MODEL_NAME, so cursorWireModelIdWithEffort now owns the mapping: thinking-then-effort (claude-opus-5-thinking-high, ...-high-fast), effort-then-thinking (claude-4.6-opus-max-thinking), and bare (claude-4.5-sonnet-thinking, which has no effort rung). Verified by composing every catalogued id/tier pair and checking it against the live roster: 46 matched, 0 mismatched. Visible models rise 41 -> 52.
…2585) The live roster carries 46 thinking wire ids across 13 families, and isCursorModelAvailableForAccount matched none of them: it compares a base id against {base}, {base}-{effort} and the family wire form, so every -thinking variant was invisible in the routed catalog. The marker's position is family-dependent and the wrong order is rejected ERROR_BAD_MODEL_NAME, so cursorWireModelIdWithEffort now owns the mapping: thinking-then-effort (claude-opus-5-thinking-high, ...-high-fast), effort-then-thinking (claude-4.6-opus-max-thinking), and bare (claude-4.5-sonnet-thinking, which has no effort rung). Verified by composing every catalogued id/tier pair and checking it against the live roster: 46 matched, 0 mismatched. Visible models rise 41 -> 52.
Summary
Second half of #2569: the
-thinkingfamilies.The live
GetUsableModelsroster carries 46 thinking wire ids across 13 families, andisCursorModelAvailableForAccountmatched none of them. It compares a configured base idagainst
{base},{base}-{effort}, and the family's wire form; no-thinkingid matchesany of those, so every variant was invisible in the routed catalog.
The awkward part is that the marker's position is family-dependent, and the wrong order is
rejected with
ERROR_BAD_MODEL_NAME. All three shapes are live today: thinking-then-effort(
claude-opus-5-thinking-high,claude-opus-5-thinking-max-fast), effort-then-thinking(
claude-4.6-opus-max-thinking), and bare with no effort rung(
claude-4.5-sonnet-thinking).cursorWireModelIdWithEffortnow owns that mapping, andthe variants are exposed as first-class Codex ids the same way the Opus Fast families were
in
831810c13.Tiers are per-family and are not always the source model's set:
claude-4.6-opusthinksonly at high/max,
claude-4.5-opusonly at high,claude-4.6-sonnetonly at medium.Verification
Composed every catalogued id/tier pair and checked each against the live roster:
Catalog coverage against the same roster:
Checklist
devdevhead