Merge branch 'ChatGPTNextWeb:main' into main
This commit is contained in:
commit
722c28839f
|
@ -344,6 +344,9 @@ const anthropicModels = [
|
|||
"claude-3-opus-20240229",
|
||||
"claude-3-haiku-20240307",
|
||||
"claude-3-5-sonnet-20240620",
|
||||
"claude-3-5-sonnet-20241022",
|
||||
"claude-3-5-sonnet-latest",
|
||||
"claude-3-opus-latest",
|
||||
];
|
||||
|
||||
const baiduModels = [
|
||||
|
|
|
@ -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,
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue