Add ModelScope Support

This commit is contained in:
yrk
2025-04-03 16:55:14 +08:00
parent f9d07779a9
commit b09ce8296f
10 changed files with 374 additions and 2 deletions
+90
View File
@@ -232,6 +232,96 @@
"token_mgr": "zhipuai",
"vision_supported": true,
"tool_call_supported": true
},
{
"name": "Qwen/Qwen2.5-Coder-32B-Instruct",
"requester": "modelscope-chat-completions",
"token_mgr": "modelscope",
"tool_call_supported": true
},
{
"name": "Qwen/Qwen2.5-Coder-14B-Instruct",
"requester": "modelscope-chat-completions",
"token_mgr": "modelscope",
"tool_call_supported": true
},
{
"name": "Qwen/Qwen2.5-Coder-7B-Instruct",
"requester": "modelscope-chat-completions",
"token_mgr": "modelscope",
"tool_call_supported": true
},
{
"name": "Qwen/Qwen2.5-72B-Instruct",
"requester": "modelscope-chat-completions",
"token_mgr": "modelscope",
"tool_call_supported": true
},
{
"name": "Qwen/Qwen2.5-32B-Instruct",
"requester": "modelscope-chat-completions",
"token_mgr": "modelscope",
"tool_call_supported": true
},
{
"name": "Qwen/Qwen2.5-14B-Instruct",
"requester": "modelscope-chat-completions",
"token_mgr": "modelscope",
"tool_call_supported": true
},
{
"name": "Qwen/Qwen2.5-7B-Instruct",
"requester": "modelscope-chat-completions",
"token_mgr": "modelscope",
"tool_call_supported": true
},
{
"name": "Qwen/QwQ-32B-Preview",
"requester": "modelscope-chat-completions",
"token_mgr": "modelscope",
"tool_call_supported": true
},
{
"name": "Qwen/QwQ-32B",
"requester": "modelscope-chat-completions",
"token_mgr": "modelscope",
"tool_call_supported": true
},
{
"name": "LLM-Research/Llama-3.3-70B-Instruct",
"requester": "modelscope-chat-completions",
"token_mgr": "modelscope",
"tool_call_supported": true
},
{
"name": "LLM-Research/Meta-Llama-3.1-405B-Instruct",
"requester": "modelscope-chat-completions",
"token_mgr": "modelscope",
"tool_call_supported": true
},
{
"name": "LLM-Research/Meta-Llama-3.1-8B-Instruct",
"requester": "modelscope-chat-completions",
"token_mgr": "modelscope",
"tool_call_supported": true
},
{
"name": "LLM-Research/Meta-Llama-3.1-70B-Instruct",
"requester": "modelscope-chat-completions",
"token_mgr": "modelscope",
"tool_call_supported": true
},
{
"name": "mistralai/Ministral-8B-Instruct-2410",
"requester": "modelscope-chat-completions",
"token_mgr": "modelscope",
"tool_call_supported": true
},
{
"name": "deepseek-ai/DeepSeek-V3-0324",
"requester": "modelscope-chat-completions",
"token_mgr": "modelscope",
"tool_call_supported": true
}
]
}
+8
View File
@@ -31,6 +31,9 @@
],
"volcark": [
"xxxxxxxx"
],
"modelscope": [
"xxxxxxxx"
]
},
"requester": {
@@ -95,6 +98,11 @@
"args": {},
"base-url": "https://ark.cn-beijing.volces.com/api/v3",
"timeout": 120
},
"modelscope-chat-completions": {
"base-url": "https://api-inference.modelscope.cn/v1",
"args": {},
"timeout": 120
}
},
"model": "gpt-4o",