feat(provider): add Baidu Qianfan chat provider (#1582)

Integrated into release/v3.7.0
This commit is contained in:
jimmyzhuu
2026-04-25 18:47:42 +08:00
committed by GitHub
parent e64dc3b431
commit 9eac8c2efe
9 changed files with 130 additions and 0 deletions

View File

@@ -150,6 +150,7 @@ const KNOWN_SVGS = new Set([
"opencode",
"playht",
"puter",
"qianfan",
"scaleway",
"sdwebui",
"synthetic",

View File

@@ -151,6 +151,18 @@ export const APIKEY_PROVIDERS = {
passthroughModels: true,
website: "https://openrouter.ai",
},
qianfan: {
id: "qianfan",
alias: "qianfan",
name: "Baidu Qianfan",
icon: "cloud",
color: "#2468F2",
textIcon: "BD",
website: "https://cloud.baidu.com/product/wenxinworkshop",
passthroughModels: true,
apiHint:
"Use a Qianfan API key from Baidu AI Cloud. The default endpoint is OpenAI-compatible v2.",
},
glm: {
id: "glm",
alias: "glm",