feat: enable 1M context window for Claude Sonnet 4 and 4.5 on Vertex AI

- Update claude-sonnet-4@20250514 contextWindow from 200k to 1M
- Update claude-sonnet-4-5@20250929 contextWindow from 200k to 1M

This aligns with Google Vertex AI documentation showing GA support
for 1M context on Sonnet 4 and beta support for Sonnet 4.5

Fixes #8671
This commit is contained in:
Roo Code 2025-10-15 14:46:50 +00:00
parent 6b8c21f873
commit 1d14c33d43

View file

@ -165,7 +165,7 @@ export const vertexModels = {
},
"claude-sonnet-4@20250514": {
maxTokens: 8192,
contextWindow: 200_000,
contextWindow: 1_000_000,
supportsImages: true,
supportsComputerUse: true,
supportsPromptCache: true,
@ -177,7 +177,7 @@ export const vertexModels = {
},
"claude-sonnet-4-5@20250929": {
maxTokens: 8192,
contextWindow: 200_000,
contextWindow: 1_000_000,
supportsImages: true,
supportsComputerUse: true,
supportsPromptCache: true,