mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-11-28 03:29:22 +08:00
对接 deepseek 模型
This commit is contained in:
@@ -22,5 +22,8 @@ export function cloudflareAIGatewayUrl(fetchUrl: string) {
|
||||
}
|
||||
// TODO: Amazon Bedrock, Groq, HuggingFace...
|
||||
}
|
||||
if ("api.deepseek.com" == paths[2]) {
|
||||
return paths.slice(0, 3).concat(paths.slice(-3)).join("/");
|
||||
}
|
||||
return fetchUrl;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user