fix(agent): align DeepSeek Flash model references
Generic Container CI/CD / test-build-publish (push) Canceled after 30m50s
Agent CI/CD v2 / build-test-publish-and-deploy (push) Canceled after 30m41s

This commit is contained in:
2026-09-25 14:38:03 +08:00
parent 72ebf4d6c1
commit 4c09eb39cd
7 changed files with 20 additions and 11 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ export type AgentModelOption = {
export const defaultAgentModelOptions: AgentModelOption[] = [
{
id: "deepseek/deepseek-v4-flash",
id: "deepseek/deepseek-flash",
label: "快速",
description: "快速回答和任务执行",
icon: "bolt",
+1 -1
View File
@@ -52,7 +52,7 @@ const envSchema = z
// opencode SDK 启动或连接运行时时的超时时间(毫秒)。
OPENCODE_TIMEOUT_MS: z.coerce.number().int().positive().default(5000),
// 默认使用的 opencode 模型标识。
OPENCODE_MODEL: z.string().default("deepseek/deepseek-v4-flash"),
OPENCODE_MODEL: z.string().default("deepseek/deepseek-flash"),
// 聊天 UI 和 /stream 允许选择的 opencode 模型完整配置,JSON 数组。
OPENCODE_MODEL_OPTIONS: z.string().default(defaultAgentModelOptionsJson),
// opencode skills 树目录;会在运行时解析为绝对路径,避免工具 cwd 偏移。
+1 -1
View File
@@ -573,7 +573,7 @@ const toRuntimeModel = (model?: SupportedModel) => {
};
const GATE_MODEL = {
modelID: "deepseek-v4-flash",
modelID: "deepseek-flash",
providerID: "deepseek",
} as const;