feat: add new model entries for Claude Sonnet 4 and Claude Opus 4 across multiple components, including constants and cache settings

This commit is contained in:
CaIon
2025-05-23 15:20:16 +08:00
parent 4978d63f46
commit 3cc1a79449
4 changed files with 16 additions and 0 deletions
+2
View File
@@ -11,6 +11,8 @@ var awsModelIDMap = map[string]string{
"claude-3-5-sonnet-20241022": "anthropic.claude-3-5-sonnet-20241022-v2:0",
"claude-3-5-haiku-20241022": "anthropic.claude-3-5-haiku-20241022-v1:0",
"claude-3-7-sonnet-20250219": "anthropic.claude-3-7-sonnet-20250219-v1:0",
"claude-sonnet-4-20250514": "anthropic.claude-sonnet-4-20250514-v1:0",
"claude-opus-4-20250514": "anthropic.claude-opus-4-20250514-v1:0",
}
var awsModelCanCrossRegionMap = map[string]map[string]bool{