feat: Add ModelScope provider to LLM providers list

This commit is contained in:
kangfenmao 2025-02-14 13:13:32 +08:00
parent caa473639c
commit 007e6419ba

View File

@ -970,6 +970,16 @@ const migrateConfig = {
}
state.llm.providers.push(
{
id: 'modelscope',
name: 'ModelScope',
type: 'openai',
apiKey: '',
apiHost: 'https://api-inference.modelscope.cn/v1/',
models: SYSTEM_MODELS.modelscope,
isSystem: true,
enabled: false
},
{
id: 'lmstudio',
name: 'LM Studio',