mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2026-04-24 12:04:30 +08:00
Merge e2429d444b into f7cde17919
This commit is contained in:
@@ -216,7 +216,13 @@ export const Baidu = {
|
||||
|
||||
export const ByteDance = {
|
||||
ExampleEndpoint: "https://ark.cn-beijing.volces.com/api/",
|
||||
ChatPath: "api/v3/chat/completions",
|
||||
ChatPath: (modelName: string) => {
|
||||
if (modelName.startsWith("bot-")) {
|
||||
return "api/v3/bots/chat/completions";
|
||||
} else {
|
||||
return "api/v3/chat/completions";
|
||||
}
|
||||
},
|
||||
};
|
||||
|
||||
export const Alibaba = {
|
||||
|
||||
Reference in New Issue
Block a user