Add Anthropic Claude Opus 5.5 API support - #1089
Conversation
Register `claude-opus-5-5` as the default Opus API preset while keeping Claude Opus 5 available as a separate selectable model. Keep Opus 5.5 on its required adaptive thinking behavior by leaving the `thinking` field unset, and omit unsupported custom temperature values. Extend Claude request-shaping and temperature normalization coverage. References: - https://www.anthropic.com/claude-opus-5-5 - https://platform.claude.com/docs/en/models/opus-5-5/whats-new-opus-5-5 - https://platform.claude.com/docs/en/build-with-claude/preserved-thinking - https://platform.claude.com/docs/en/claude_api_primer
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (5)
Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review. 📝 WalkthroughWalkthroughThe change adds Claude Opus 5.5 to model configuration and localization, makes it a default API mode, excludes it from custom temperature overrides, and adds test coverage for these behaviors. ChangesClaude Opus 5.5 support
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~8 minutes Change: Feature Merge Risk: ⚪ Minimal · up to Claude Opus 5.5 is registered and safely selected as the default, with unsupported temperature overrides omitted. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
There was a problem hiding this comment.
Your trial has ended. Reactivate Greptile to resume code reviews.
PR Summary by QodoAdd Claude Opus 5.5 Anthropic API support
AI Description
Diagram
High-Level Assessment
Files changed (5)
|
Code Review by Qodo
1.
|
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
No unresolved review issues were identified.
Review effort: Lite
Findings: None
What changed in this PR
Adds Claude Opus 5.5 support to the Anthropic API integration.
Changes:
- Registers and defaults
claude-opus-5-5. - Preserves adaptive thinking and omits unsupported temperature overrides.
- Adds localization and regression coverage.
| File | Description |
|---|---|
tests/unit/services/apis/temperature-params.test.mjs |
Tests model ID normalization. |
tests/unit/services/apis/claude-api.test.mjs |
Tests Claude request shaping. |
src/services/apis/temperature-params.mjs |
Blocks unsupported temperature overrides. |
src/config/index.mjs |
Registers and defaults the new model. |
src/_locales/en/main.json |
Adds the English model label. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes
claudeOpus55Apipreset — addsclaude-opus-5-5toclaudeApiModelKeysandModelswith descAnthropic (Claude Opus 5.5), following the same two-edit pattern as prior Opus/Sonnet additions.- Default Opus-tier swap —
defaultApiModeIdsnow listsclaudeOpus55Apiin place ofclaudeOpus5Api; Opus 5 stays inclaudeApiModelKeys/Modelsand is still selectable for existing users. - Temperature omission —
claude-opus-5-5added toMODELS_WITHOUT_CUSTOM_TEMPERATURE, with test coverage for both the bare andanthropic/claude-opus-5.5(dot-normalized) forms. - Thinking shape — left unset for Opus 5.5, matching the always-on adaptive-thinking behavior shared by Opus 5 / Fable 5/5.1; only
claude-sonnet-5explicitly disables thinking. - Localization — English identity entry added; other locales use the existing
enfallback.
I verified the request-shape matrix (tests/unit/services/apis/claude-api.test.mjs), temperature matrix, and config predicates; the full suite passes (1068/1068), and prettier --check / eslint are clean on the changed files. The temperature set entry is technically prefix-covered by claude-opus-5, but the explicit listing matches the repo's convention for sibling models (e.g. claude-fable-5-1), so no change is suggested.
DeepSeek Flash (free via Pullfrog for OSS) | 𝕏

Expose Claude Opus 5.5 through the Anthropic API model list using the official
claude-opus-5-5identifier.Changes
thinkingfield unset.temperatureoverrides for Claude Opus 5.5.Localization
Anthropic (Claude Opus 5.5).Compatibility notes
thinkingunset.Validation
masterbase.anthropic/claude-opus-5.5normalization.References
Summary by CodeRabbit
New Features
Bug Fixes