mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
fix: correct Vertex AI claude-sonnet-4-6 model ID (#11626)
fix: correct Vertex AI claude-sonnet-4-6 model ID by removing date suffix Co-authored-by: Roo Code <roomote@roocode.com>
This commit is contained in:
parent
4288b0a72f
commit
93415c7204
2 changed files with 3 additions and 3 deletions
|
|
@ -292,7 +292,7 @@ export const vertexModels = {
|
|||
},
|
||||
],
|
||||
},
|
||||
"claude-sonnet-4-6@20260114": {
|
||||
"claude-sonnet-4-6": {
|
||||
maxTokens: 8192,
|
||||
contextWindow: 200_000, // Default 200K, extendable to 1M with beta flag 'context-1m-2025-08-07'
|
||||
supportsImages: true,
|
||||
|
|
@ -541,7 +541,7 @@ export const vertexModels = {
|
|||
export const VERTEX_1M_CONTEXT_MODEL_IDS = [
|
||||
"claude-sonnet-4@20250514",
|
||||
"claude-sonnet-4-5@20250929",
|
||||
"claude-sonnet-4-6@20260114",
|
||||
"claude-sonnet-4-6",
|
||||
"claude-opus-4-6",
|
||||
] as const
|
||||
|
||||
|
|
|
|||
|
|
@ -901,7 +901,7 @@ describe("VertexHandler", () => {
|
|||
|
||||
it("should enable 1M context for Claude Sonnet 4.6 when beta flag is set", () => {
|
||||
const handler = new AnthropicVertexHandler({
|
||||
apiModelId: "claude-sonnet-4-6@20260114",
|
||||
apiModelId: "claude-sonnet-4-6",
|
||||
vertexProjectId: "test-project",
|
||||
vertexRegion: "us-central1",
|
||||
vertex1MContext: true,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue