fix: correct AWS Bedrock Claude Sonnet 4.5 model identifier (#8372)

Fixes #8371 - Updates the model ID from anthropic.claude-4.5-sonnet-v1:0
to anthropic.claude-sonnet-4-5-20250929-v1:0 to match AWS Bedrock naming convention

Co-authored-by: Roo Code <roomote@roocode.com>
This commit is contained in:
roomote[bot] 2025-09-29 14:41:43 -04:00 committed by GitHub
parent de77055720
commit c57539d4b5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -13,7 +13,7 @@ export const bedrockDefaultPromptRouterModelId: BedrockModelId = "anthropic.clau
// of the default prompt routers AWS enabled for GA of the promot router
// feature.
export const bedrockModels = {
"anthropic.claude-4.5-sonnet-v1:0": {
"anthropic.claude-sonnet-4-5-20250929-v1:0": {
maxTokens: 8192,
contextWindow: 200_000,
supportsImages: true,