From 561f70eda397c5fc0899b452d00f77b9f5210321 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=A2=AB=E9=81=97=E5=BF=98=E7=9A=84=E8=AE=B0=E5=BF=86?= <32097237+YIWANG-sketch@users.noreply.github.com> Date: Sat, 26 Oct 2024 18:54:53 +0800 Subject: [PATCH] add claude-3-5-sonnet-20241022 --- index.mjs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/index.mjs b/index.mjs index 0be38f9..9ad8480 100644 --- a/index.mjs +++ b/index.mjs @@ -29,8 +29,11 @@ const availableModels = [ "zephyr", ]; const modelMappping = { + "claude-3-5-sonnet-latest": "claude_3_5_sonnet", + "claude-3-5-sonnet-20241022": "claude_3_5_sonnet", "claude-3-5-sonnet-20240620": "claude_3_5_sonnet", "claude-3-20240229": "claude_3_opus", + "claude-3-opus-20240229": "claude_3_opus", "claude-3-sonnet-20240229": "claude_3_sonnet", "claude-3-haiku-20240307": "claude_3_haiku", "claude-2.1": "claude_2",