chore: 智谱默认推荐改为 glm-4-flash-250414(实测快且口语自然)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
ef820c8ddb
commit
0e2d3e241d
4 files changed
+6
-6
No files matched your search
+1
-1
@@ -41,7 +41,7 @@
|
||||
"hotkey": "Alt+Q",
|
||||
"engine": "free", // "free" | "llm"
|
||||
"free": { "provider": "microsoft" }, // "microsoft" | "google"
|
||||
"llm": { "provider": "zhipu", "baseUrl": "https://open.bigmodel.cn/api/paas/v4", "model": "glm-4.7-flash", "apiKey": "<加密存储>" },
|
||||
"llm": { "provider": "zhipu", "baseUrl": "https://open.bigmodel.cn/api/paas/v4", "model": "glm-4-flash-250414", "apiKey": "<加密存储>" },
|
||||
"livePreview": true,
|
||||
"previewDelayMs": 500,
|
||||
"restoreClipboard": true,
|
||||
|
||||
+1
-1
@@ -10,7 +10,7 @@ const DEFAULT_CONFIG = {
|
||||
llm: {
|
||||
provider: 'zhipu',
|
||||
baseUrl: 'https://open.bigmodel.cn/api/paas/v4',
|
||||
model: 'glm-4.7-flash',
|
||||
model: 'glm-4-flash-250414',
|
||||
apiKey: '', // 当前服务商的 Key(仅内存,由 apiKeys 推出)
|
||||
apiKeys: {}, // 每个服务商各存一份,切换服务商时不会把 A 的 Key 发给 B
|
||||
},
|
||||
|
||||
@@ -10,11 +10,11 @@ const NO_THINK_OPENROUTER = { reasoning: { enabled: false } };
|
||||
|
||||
const PROVIDERS = [
|
||||
{
|
||||
id: 'zhipu', name: '智谱 GLM · 免费', kind: 'openai', baseUrl: 'https://open.bigmodel.cn/api/paas/v4', model: 'glm-4.7-flash',
|
||||
id: 'zhipu', name: '智谱 GLM · 免费', kind: 'openai', baseUrl: 'https://open.bigmodel.cn/api/paas/v4', model: 'glm-4-flash-250414',
|
||||
keyUrl: 'https://open.bigmodel.cn/usercenter/apikeys', note: '国内直连,长期免费',
|
||||
models: [
|
||||
{ id: 'glm-4.7-flash', free: 'free', note: '推荐', extra: NO_THINK_GLM },
|
||||
{ id: 'glm-4-flash-250414', free: 'free' },
|
||||
{ id: 'glm-4-flash-250414', free: 'free', note: '推荐 · 最快' }, // 实测口语译文好、响应快
|
||||
{ id: 'glm-4.7-flash', free: 'free', note: '新一代', extra: NO_THINK_GLM },
|
||||
],
|
||||
},
|
||||
{
|
||||
|
||||
@@ -4,7 +4,7 @@ if (!window.xt) {
|
||||
const listeners = { partial: [], show: [], config: [] };
|
||||
let cfg = {
|
||||
hotkey: 'Alt+Q', engine: 'free', free: { provider: 'microsoft' },
|
||||
llm: { provider: 'zhipu', baseUrl: 'https://open.bigmodel.cn/api/paas/v4', model: 'glm-4.7-flash', apiKeySet: false },
|
||||
llm: { provider: 'zhipu', baseUrl: 'https://open.bigmodel.cn/api/paas/v4', model: 'glm-4-flash-250414', apiKeySet: false },
|
||||
livePreview: true, previewDelayMs: 500, restoreClipboard: true, launchAtLogin: false,
|
||||
};
|
||||
const canned = { '我先撤了哈,明天见': "I'm heading out, see you tomorrow!", 'No worries, take your time!': '没事没事,你慢慢来!' };
|
||||
|
||||
Reference in new issue
Block a user