feat: add supports for zhipuai(chatglm)

This commit is contained in:
Junyan Qin
2025-01-06 20:27:10 +08:00
parent 8ed07b8d1a
commit 44b92909eb
8 changed files with 142 additions and 128 deletions
+8
View File
@@ -19,6 +19,9 @@
],
"xai": [
"xai-1234567890"
],
"zhipuai": [
"xxxxxxx"
]
},
"requester": {
@@ -58,6 +61,11 @@
"base-url": "https://api.x.ai/v1",
"args": {},
"timeout": 120
},
"zhipuai-chat-completions": {
"base-url": "https://open.bigmodel.cn/api/paas/v4",
"args": {},
"timeout": 120
}
},
"model": "gpt-4o",