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 66a8612d12
commit 1644b7b15d
4 changed files with 16 additions and 0 deletions

View File

@@ -31,6 +31,8 @@ var claudeModelMap = map[string]string{
"claude-3-5-sonnet-20240620": "claude-3-5-sonnet@20240620",
"claude-3-5-sonnet-20241022": "claude-3-5-sonnet-v2@20241022",
"claude-3-7-sonnet-20250219": "claude-3-7-sonnet@20250219",
"claude-sonnet-4-20250514": "claude-sonnet-4@20250514",
"claude-opus-4-20250514": "claude-opus-4@20250514",
}
const anthropicVersion = "vertex-2023-10-16"