fix(llm): default DeepSeek account model overrides to an empty dict

This commit is contained in:
Yichen Jiang committed 2026-09-24 13:15:29 +08:00
1 parent 0a13e89b0d
commit e647f079b9
3 files changed
+1 -3

No files matched your search

@@ -1 +0,0 @@
DeepSeek Accountdeepseek-accountModelsUsing the adapter defaultsAdd modelCancelApply
@@ -1 +0,0 @@
DeepSeek 账号deepseek-account模型目录正在使用适配器默认模型添加模型取消保存
@@ -43,7 +43,7 @@ export const Config = z.object({
modelsURL: z.string().volatile(),
modelsTimeoutMs: z.number().min(Number.MIN_VALUE).max(MAX_TIMER_DELAY_MS).default(DEFAULT_MODELS_TIMEOUT_MS).volatile(),
modelsMaxAgeMs: z.number().step(1).min(0).max(Number.MAX_SAFE_INTEGER).default(DEFAULT_MODELS_MAX_AGE_MS).volatile(),
modelOverrides: z.dict(modelOverride).volatile(),
modelOverrides: z.dict(modelOverride).default({}).volatile(),
})
/** Plain account options accepted by {@link resolveAccountOptions}. */