-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Feature/modelscope support #898
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
67f544c
964b9d4
bd043bd
8434abd
32dcb31
7e650a7
68504b5
5f91ca5
2c0ab23
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -353,6 +353,14 @@ def __createLLMServiceCards(self): | |||||
| "default_base": "https://open.bigmodel.cn/api/paas/v4", | ||||||
| "default_models": ["glm-4-plus", "glm-4-air-250414", "glm-4-flash"], | ||||||
| }, | ||||||
| LLMServiceEnum.MODELSCOPE: { | ||||||
| "prefix": "modelscope", | ||||||
| "api_key_cfg": cfg.modelscope_api_key, | ||||||
| "api_base_cfg": cfg.modelscope_api_base, | ||||||
| "model_cfg": cfg.modelscope_model, | ||||||
| "default_base": "https://api-inference.modelscope.cn/v1", | ||||||
| "default_models": ["Qwen/Qwen3-8B", "Qwen/Qwen3-30B-A3B-Instruct-2507", "deepseek-ai/DeepSeek-V3.1"], | ||||||
|
||||||
| "default_models": ["Qwen/Qwen3-8B", "Qwen/Qwen3-30B-A3B-Instruct-2507", "deepseek-ai/DeepSeek-V3.1"], | |
| "default_models": ["Qwen/Qwen3-8B", "Qwen/Qwen3-30B-A3B-Instruct-2507", "deepseek-ai/DeepSeek-V3"], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The model name "Qwen/Qwen3-30B-A3B-Instruct-2507" appears to be non-standard. Based on Qwen's naming conventions, this should likely be verified:
Please verify this model name exists in ModelScope's model registry, or update to a valid model name like "Qwen/Qwen2.5-32B-Instruct" if this was intended.