diff --git a/src/renderer/dev-mock.js b/src/renderer/dev-mock.js index c9dc201..dabbc28 100644 --- a/src/renderer/dev-mock.js +++ b/src/renderer/dev-mock.js @@ -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: [] },