Add Claude Opus 4.8 support#978
Conversation
Expose Claude Opus 4.8 through the Anthropic API and OpenRouter model lists using the official model identifiers. Add the matching Anthropic display label to each locale so the new API option renders consistently with existing Claude models.
Review Summary by QodoAdd Claude Opus 4.8 model support across APIs and locales
WalkthroughsDescription• Add Claude Opus 4.8 model support across Anthropic and OpenRouter APIs • Add localized display labels for Claude Opus 4.8 in 12 language locales • Register new model identifiers in configuration with official API values Diagramflowchart LR
A["Claude Opus 4.8 Model"] --> B["Anthropic API"]
A --> C["OpenRouter API"]
B --> D["Config Registration"]
C --> D
D --> E["Locale Translations"]
E --> F["12 Language Files"]
File Changes1. src/config/index.mjs
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (14)
📝 WalkthroughWalkthroughThis PR adds Claude Opus 4.8 model availability to the chatGPTBox extension. The model is registered in the configuration as two separate entries—one for direct Claude API access and one through OpenRouter—each with their correct API values. The display label is then added to all 13 supported language locales. ChangesClaude Opus 4.8 Model Support
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested labels
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 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.
Code Review
This pull request adds support for the 'Anthropic (Claude Opus 4.8)' model. It updates localization files across multiple languages to include the new model's display name and adds the corresponding configuration keys and model definitions in src/config/index.mjs for both direct API and OpenRouter integrations. No review comments were provided, and there is no additional feedback to address.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
There was a problem hiding this comment.
Pull request overview
Adds support for the new Claude Opus 4.8 model option across the extension’s model catalogs, so users can select it via both Anthropic API and OpenRouter integrations, with consistent display labeling across supported locales.
Changes:
- Adds
claudeOpus48Apito the Anthropic API model key list andModelsmap (valueclaude-opus-4-8). - Adds
openRouter_anthropic_claude_opus4_8to the OpenRouter model key list andModelsmap (valueanthropic/claude-opus-4.8). - Adds the
Anthropic (Claude Opus 4.8)display label key to all existing locale JSON files.
Reviewed changes
Copilot reviewed 14 out of 14 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| src/config/index.mjs | Registers Claude Opus 4.8 for Anthropic API + OpenRouter model lists and model metadata. |
| src/_locales/de/main.json | Adds the Anthropic (Claude Opus 4.8) label for consistent UI rendering. |
| src/_locales/en/main.json | Adds the Anthropic (Claude Opus 4.8) label for consistent UI rendering. |
| src/_locales/es/main.json | Adds the Anthropic (Claude Opus 4.8) label for consistent UI rendering. |
| src/_locales/fr/main.json | Adds the Anthropic (Claude Opus 4.8) label for consistent UI rendering. |
| src/_locales/in/main.json | Adds the Anthropic (Claude Opus 4.8) label for consistent UI rendering. |
| src/_locales/it/main.json | Adds the Anthropic (Claude Opus 4.8) label for consistent UI rendering. |
| src/_locales/ja/main.json | Adds the Anthropic (Claude Opus 4.8) label for consistent UI rendering. |
| src/_locales/ko/main.json | Adds the Anthropic (Claude Opus 4.8) label for consistent UI rendering. |
| src/_locales/pt/main.json | Adds the Anthropic (Claude Opus 4.8) label for consistent UI rendering. |
| src/_locales/ru/main.json | Adds the Anthropic (Claude Opus 4.8) label for consistent UI rendering. |
| src/_locales/tr/main.json | Adds the Anthropic (Claude Opus 4.8) label for consistent UI rendering. |
| src/_locales/zh-hans/main.json | Adds the Anthropic (Claude Opus 4.8) label for consistent UI rendering. |
| src/_locales/zh-hant/main.json | Adds the Anthropic (Claude Opus 4.8) label for consistent UI rendering. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Expose Claude Opus 4.8 through the Anthropic API and OpenRouter model lists using the official model identifiers.
Add the matching Anthropic display label to each locale so the new API option renders consistently with existing Claude models.
Summary by CodeRabbit