Add Claude Opus 4.5 to Anthropic and Vertex providers#1679
Conversation
WalkthroughThe PR updates AI SDK dependencies and adds support for a new Claude model variant across provider configurations. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (4)
🧰 Additional context used📓 Path-based instructions (3)**/*.{ts,tsx,js,jsx}📄 CodeRabbit inference engine (.cursor/rules/coding-guidelines.mdc)
Files:
**/*.{ts,tsx}📄 CodeRabbit inference engine (.cursor/rules/coding-guidelines.mdc)
Files:
**/*.{tsx,ts}📄 CodeRabbit inference engine (.cursor/rules/coding-guidelines.mdc)
Files:
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (6)
🔇 Additional comments (5)
Tip 📝 Customizable high-level summaries are now available in beta!You can now customize how CodeRabbit generates the high-level summary in your pull requests — including its content, structure, tone, and formatting.
Example instruction:
Note: This feature is currently in beta for Pro-tier users, and pricing will be announced later. Comment |
There was a problem hiding this comment.
Pull request overview
This PR adds support for Claude Opus 4.5 model (released November 1, 2025) to both the Anthropic and Google Vertex AI providers, along with necessary dependency updates.
Key Changes:
- Added
claude-opus-4-5-20251101model identifier to the Anthropic provider - Added
claude-opus-4-5@20251101model identifier to the Google Vertex AI provider - Updated
@ai-sdk/anthropicfrom version 2.0.45 to 2.0.49 - Updated
@ai-sdk/google-vertexfrom version 3.0.70 to 3.0.80
Reviewed changes
Copilot reviewed 4 out of 5 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| packages/openops/src/lib/ai/providers/anthropic.ts | Adds Claude Opus 4.5 model identifier to the Anthropic models list |
| packages/openops/src/lib/ai/providers/google-vertex.ts | Adds Claude Opus 4.5 model identifier to the Google Vertex Claude models list |
| package.json | Updates Anthropic and Google Vertex SDK dependencies to versions that support the new model |
| THIRD_PARTY_LICENSES.txt | Updates third-party license attributions to reflect the new dependency versions |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Greptile OverviewGreptile SummaryAdded Claude Opus 4.5 (released November 2025) to both Anthropic and Google Vertex AI providers by adding the model identifiers to their respective model lists.
Confidence Score: 5/5
Important Files ChangedFile Analysis
Sequence DiagramsequenceDiagram
participant User
participant API
participant ProviderModule
participant AnthropicProvider
participant VertexProvider
participant AISDKs
User->>API: Request to use Claude Opus 4.5
API->>ProviderModule: getAiProviderLanguageModel(config)
ProviderModule->>ProviderModule: getAiProvider(provider enum)
alt Anthropic Provider
ProviderModule->>AnthropicProvider: createLanguageModel({model: "claude-opus-4-5-20251101"})
AnthropicProvider->>AISDKs: createAnthropic(apiKey)
AISDKs-->>AnthropicProvider: language model instance
AnthropicProvider-->>ProviderModule: language model
else Google Vertex Provider
ProviderModule->>VertexProvider: createLanguageModel({model: "claude-opus-4-5@20251101"})
VertexProvider->>VertexProvider: Check if model starts with "claude"
VertexProvider->>AISDKs: createVertexAnthropic(config)
AISDKs-->>VertexProvider: language model instance
VertexProvider-->>ProviderModule: language model
end
ProviderModule-->>API: language model
API->>API: generateText(model, prompt)
API-->>User: AI response
|



Fixes OPS-3139.
Additional Notes
Summary by CodeRabbit
New Features
Chores
✏️ Tip: You can customize this high-level summary in your review settings.