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-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 = [
|
||||||
|
|
|
@ -94,6 +94,10 @@ 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 {
|
||||||
|
|
Loading…
Reference in New Issue