feat: add support claude-3.7-sonnet

This commit is contained in:
longkeyy
2025-02-25 18:07:37 +08:00
parent 8df4a2670b
commit 7fed66d584
5 changed files with 84 additions and 74 deletions

View File

@@ -36,6 +36,7 @@ var AwsModelIDMap = map[string]string{
"claude-3-5-sonnet-20241022": "anthropic.claude-3-5-sonnet-20241022-v2:0",
"claude-3-5-sonnet-latest": "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",
}
func awsModelID(requestModel string) (string, error) {