feat: refactor

This commit is contained in:
Junyan Qin
2025-01-04 22:24:05 +08:00
parent 11a0c4142e
commit 0a68a77e28
8 changed files with 240 additions and 152 deletions
+8
View File
@@ -16,6 +16,9 @@
],
"gitee-ai": [
"XXXXX"
],
"xai": [
"xai-1234567890"
]
},
"requester": {
@@ -50,6 +53,11 @@
"base-url": "https://ai.gitee.com/v1",
"args": {},
"timeout": 120
},
"xai-chat-completions": {
"base-url": "https://api.x.ai/v1",
"args": {},
"timeout": 120
}
},
"model": "gpt-4o",