From b048cad5a604e016e3c8b257a5728d03beeac2e9 Mon Sep 17 00:00:00 2001 From: "Laisky.Cai" Date: Wed, 23 Oct 2024 13:28:26 +0000 Subject: [PATCH] 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. --- relay/adaptor/vertexai/claude/adapter.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/relay/adaptor/vertexai/claude/adapter.go b/relay/adaptor/vertexai/claude/adapter.go index b39e2dda..8ba28fbc 100644 --- a/relay/adaptor/vertexai/claude/adapter.go +++ b/relay/adaptor/vertexai/claude/adapter.go @@ -13,7 +13,11 @@ import ( ) 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"