fix: update model list in vertexai/claude/adapter.go

The commit updates the model list in the `vertexai/claude/adapter.go` file. It adds a new model, `claude-3-5-sonnet-v2@20241022`, to the list. This change ensures that the latest model is included in the list.
This commit is contained in:
Laisky.Cai 2024-10-23 13:28:26 +00:00
parent ce57b2e1e1
commit b048cad5a6

View File

@ -13,7 +13,11 @@ import (
) )
var ModelList = []string{ var ModelList = []string{
"claude-3-haiku@20240307", "claude-3-opus@20240229", "claude-3-5-sonnet@20240620", "claude-3-sonnet@20240229", "claude-3-haiku@20240307",
"claude-3-opus@20240229",
"claude-3-5-sonnet@20240620",
"claude-3-sonnet@20240229",
"claude-3-5-sonnet-v2@20241022",
} }
const anthropicVersion = "vertex-2023-10-16" const anthropicVersion = "vertex-2023-10-16"