mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-02-05 17:20:06 +08:00
update constant for baidu add ernie-speed model
This commit is contained in:
parent
ec95292209
commit
5a0d0c0b75
@ -134,6 +134,9 @@ export const Baidu = {
|
||||
if (modelName === "ernie-3.5-8k") {
|
||||
endpoint = "completions";
|
||||
}
|
||||
if (modelName === "ernie-speed") {
|
||||
endpoint = "ernie_speed";
|
||||
}
|
||||
return `rpc/2.0/ai_custom/v1/wenxinworkshop/chat/${endpoint}`;
|
||||
},
|
||||
};
|
||||
@ -225,6 +228,7 @@ const baiduModels = [
|
||||
"ernie-4.0-8k-latest",
|
||||
"ernie-3.5-8k",
|
||||
"ernie-3.5-8k-0205",
|
||||
"ernie-speed"
|
||||
];
|
||||
|
||||
const bytedanceModels = [
|
||||
|
Loading…
Reference in New Issue
Block a user