Merge branch 'ChatGPTNextWeb:main' into main

This commit is contained in:
glay 2024-10-31 11:51:41 +08:00 committed by GitHub
commit 722c28839f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 1 deletions

View File

@ -344,6 +344,9 @@ const anthropicModels = [
"claude-3-opus-20240229", "claude-3-opus-20240229",
"claude-3-haiku-20240307", "claude-3-haiku-20240307",
"claude-3-5-sonnet-20240620", "claude-3-5-sonnet-20240620",
"claude-3-5-sonnet-20241022",
"claude-3-5-sonnet-latest",
"claude-3-opus-latest",
]; ];
const baiduModels = [ const baiduModels = [

View File

@ -94,8 +94,12 @@ if (mode !== "export") {
source: "/sharegpt", source: "/sharegpt",
destination: "https://sharegpt.com/api/conversations", destination: "https://sharegpt.com/api/conversations",
}, },
{
source: "/api/proxy/alibaba/:path*",
destination: "https://dashscope.aliyuncs.com/api/:path*",
},
]; ];
return { return {
beforeFiles: ret, beforeFiles: ret,
}; };