fix(config): 脱敏视图里 engine 与 llm 平级

启动横幅里 engine 被错插进 llm 对象内部,修正为同级字段。
This commit is contained in:
zh 2026-09-28 20:22:40 +08:00
parent b3e0195646
commit 46cddc8245
1 changed files with 1 additions and 1 deletions

View File

@ -109,8 +109,8 @@ export function isEngineConfigured(config: PlatformConfig): boolean {
/** 脱敏视图:日志与启动横幅只能用它 */
export function redactConfig(config: PlatformConfig): Record<string, unknown> {
return {
llm: {
engine: { kind: config.engine.kind },
llm: {
provider: config.llm.provider,
baseUrl: config.llm.baseUrl,
model: config.llm.model,