Explorar o código

Merge branch 'main' of https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web

GH Action - Upstream Sync hai 1 ano
pai
achega
7c466c9b9c
Modificáronse 2 ficheiros con 6 adicións e 1 borrados
  1. 1 0
      app/constant.ts
  2. 5 1
      next.config.mjs

+ 1 - 0
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 = [

+ 5 - 1
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,
     };