From 736cbdbdd12d340e9b08b69724f9a1321befd645 Mon Sep 17 00:00:00 2001 From: hyiip Date: Wed, 30 Oct 2024 02:18:41 +0800 Subject: [PATCH 1/2] add constant to claude 3.5 sonnet 20241022 --- app/constant.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/app/constant.ts b/app/constant.ts index 9774bb594dd..f2021736a69 100644 --- a/app/constant.ts +++ b/app/constant.ts @@ -319,6 +319,7 @@ const anthropicModels = [ "claude-3-opus-20240229", "claude-3-haiku-20240307", "claude-3-5-sonnet-20240620", + "claude-3-5-sonnet-20241022", ]; const baiduModels = [ From 86ffa1e6430b0a34893665bb284130c1f144e399 Mon Sep 17 00:00:00 2001 From: yuxuan-ctrl <714180720@qq.com> Date: Wed, 30 Oct 2024 16:30:01 +0800 Subject: [PATCH 2/2] =?UTF-8?q?feat:=20=E6=96=B0=E5=A2=9E=E9=98=BF?= =?UTF-8?q?=E9=87=8C=E7=B3=BB=E6=A8=A1=E5=9E=8B=E4=BB=A3=E7=A0=81=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- next.config.mjs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/next.config.mjs b/next.config.mjs index 26dadca4c9e..2bb6bc4f4b2 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -94,8 +94,12 @@ if (mode !== "export") { source: "/sharegpt", destination: "https://sharegpt.com/api/conversations", }, + { + source: "/api/proxy/alibaba/:path*", + destination: "https://dashscope.aliyuncs.com/api/:path*", + }, ]; - + return { beforeFiles: ret, };