chore: 预览用 mock 同步智谱推荐模型
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
6cf532b96c
commit
2ffcf60fd5
1 file changed
+1
-1
@@ -40,7 +40,7 @@ if (!window.xt) {
|
||||
return structuredClone(cfg);
|
||||
},
|
||||
getProviders: async () => [
|
||||
{ id: 'zhipu', name: '智谱 GLM · 免费', baseUrl: 'https://open.bigmodel.cn/api/paas/v4', model: 'glm-4.7-flash', note: '国内直连,长期免费', keyUrl: 'https://open.bigmodel.cn/usercenter/apikeys', models: [{ id: 'glm-4.7-flash', free: 'free', note: '推荐' }, { id: 'glm-4-flash-250414', free: 'free' }] },
|
||||
{ id: 'zhipu', name: '智谱 GLM · 免费', baseUrl: 'https://open.bigmodel.cn/api/paas/v4', model: 'glm-4-flash-250414', note: '国内直连,长期免费', keyUrl: 'https://open.bigmodel.cn/usercenter/apikeys', models: [{ id: 'glm-4-flash-250414', free: 'free', note: '推荐 · 最快' }, { id: 'glm-4.7-flash', free: 'free', note: '新一代' }] },
|
||||
{ id: 'openrouter', name: 'OpenRouter · 有免费模型', baseUrl: 'https://openrouter.ai/api/v1', model: 'google/gemma-4-31b-it:free', keyUrl: 'https://openrouter.ai/keys', models: [{ id: 'google/gemma-4-31b-it:free', free: 'free', note: '推荐' }, { id: 'deepseek/deepseek-chat' }] },
|
||||
{ id: 'ollama', name: 'Ollama(本地)', baseUrl: 'http://localhost:11434/v1', model: 'qwen2.5:7b', models: [], keyOptional: true },
|
||||
{ id: 'custom', name: '自定义(OpenAI 兼容)', baseUrl: '', model: '', models: [] },
|
||||
|
||||
Reference in new issue
Block a user