fix: add missing :0 version suffix to Bedrock Opus 4.6 model ID

This commit is contained in:
Roo Code 2026-02-06 11:34:43 +00:00
parent 5b0897beb9
commit 2f1b6dbcde

View file

@ -119,7 +119,7 @@ export const bedrockModels = {
maxCachePoints: 4,
cachableFields: ["system", "messages", "tools"],
},
"anthropic.claude-opus-4-6-v1": {
"anthropic.claude-opus-4-6-v1:0": {
maxTokens: 8192,
contextWindow: 200_000, // Default 200K, extendable to 1M with beta flag 'context-1m-2025-08-07'
supportsImages: true,
@ -499,7 +499,7 @@ export const BEDROCK_REGIONS = [
export const BEDROCK_1M_CONTEXT_MODEL_IDS = [
"anthropic.claude-sonnet-4-20250514-v1:0",
"anthropic.claude-sonnet-4-5-20250929-v1:0",
"anthropic.claude-opus-4-6-v1",
"anthropic.claude-opus-4-6-v1:0",
] as const
// Amazon Bedrock models that support Global Inference profiles
@ -514,7 +514,7 @@ export const BEDROCK_GLOBAL_INFERENCE_MODEL_IDS = [
"anthropic.claude-sonnet-4-5-20250929-v1:0",
"anthropic.claude-haiku-4-5-20251001-v1:0",
"anthropic.claude-opus-4-5-20251101-v1:0",
"anthropic.claude-opus-4-6-v1",
"anthropic.claude-opus-4-6-v1:0",
] as const
// Amazon Bedrock Service Tier types