feat(providers): add qoder-cn support for Qoder CN (qoder.com.cn)

This commit is contained in:
Liang.Xu
2026-09-21 20:44:26 +07:00
parent f67d5a0c93
commit 402745dc1f
30 changed files with 487 additions and 234 deletions

View File

@@ -719,6 +719,16 @@
"validateUrl": "https://ollama.com/api/tags",
"format": "ollama"
},
"qoder-cn": {
"baseUrl": "https://gateway.qoder.com.cn/algo/api/v2/service/pro/sse/agent_chat_generation",
"headers": {},
"timeoutMs": 120000,
"stallTimeoutMs": 120000,
"usage": {
"url": "https://openapi.qoder.com.cn/api/v2/quota/usage"
},
"format": "openai"
},
"openai": {
"baseUrl": "https://api.openai.com/v1/chat/completions",
"forceStream": true,