fix: correct Claude 4.5 Sonnet model name in Vertex provider

The model was incorrectly named "claude-4.5-sonnet" but should be "claude-sonnet-4-5" to match the naming convention used in Anthropic and Claude Code providers.

Fixes #8386
This commit is contained in:
Roo Code 2025-09-29 22:04:56 +00:00
parent 8b74af9938
commit c66bf631be

View file

@ -6,7 +6,7 @@ export type VertexModelId = keyof typeof vertexModels
export const vertexDefaultModelId: VertexModelId = "claude-sonnet-4@20250514"
export const vertexModels = {
"claude-4.5-sonnet": {
"claude-sonnet-4-5": {
maxTokens: 8192,
contextWindow: 200_000,
supportsImages: true,