From 46cddc8245330daf1a8db05707bf308cdf2af63e Mon Sep 17 00:00:00 2001 From: zh Date: Mon, 28 Sep 2026 20:22:40 +0800 Subject: [PATCH] =?UTF-8?q?fix(config):=20=E8=84=B1=E6=95=8F=E8=A7=86?= =?UTF-8?q?=E5=9B=BE=E9=87=8C=20engine=20=E4=B8=8E=20llm=20=E5=B9=B3?= =?UTF-8?q?=E7=BA=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 启动横幅里 engine 被错插进 llm 对象内部,修正为同级字段。 --- server/config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/config.ts b/server/config.ts index 63eaaa2..42820c1 100644 --- a/server/config.ts +++ b/server/config.ts @@ -109,8 +109,8 @@ export function isEngineConfigured(config: PlatformConfig): boolean { /** 脱敏视图:日志与启动横幅只能用它 */ export function redactConfig(config: PlatformConfig): Record { return { - llm: { engine: { kind: config.engine.kind }, + llm: { provider: config.llm.provider, baseUrl: config.llm.baseUrl, model: config.llm.model,