feat(vertex): add Claude Opus 4.7 support#12135
Open
saneroen wants to merge 1 commit intoRooCodeInc:mainfrom
Open
feat(vertex): add Claude Opus 4.7 support#12135saneroen wants to merge 1 commit intoRooCodeInc:mainfrom
saneroen wants to merge 1 commit intoRooCodeInc:mainfrom
Conversation
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.
Related GitHub Issue
Closes: #12134
Roo Code Task Context (Optional)
N/A
Description
This PR adds Vertex AI support for Claude Opus 4.7 (
claude-opus-4-7) by following the existing Opus 4.6 integration pattern.Implementation details:
claude-opus-4-7to Vertex model definitions invertexModels.claude-opus-4-7inVERTEX_1M_CONTEXT_MODEL_IDSso 1M-context behavior uses the existing Vertex flow.anthropic-vertex.spec.tsto verify 1M context + tier pricing behavior for Opus 4.7.Test Procedure
corepack pnpm installcd src && corepack pnpm vitest run api/providers/__tests__/anthropic-vertex.spec.tsPre-push checks also passed (lint + check-types).
Pre-Submission Checklist
Screenshots / Videos
N/A (no UI changes)
Documentation Updates
Additional Notes
Branch:
feat/vertex-claude-opus-4-7Commit:
3d4cba43b1c48c4a104ddef27c1300de0b2c5327Get in Touch
Discord: santy2509
Interactively review PR in Roo Code Cloud