From b5aaf8b0f163a45b8bba4494cd07615bd3ccd483 Mon Sep 17 00:00:00 2001 From: Bob Lee Date: Mon, 20 Jul 2026 16:33:07 +0800 Subject: [PATCH] polish(settings): simplify models section chrome and clarify Subagent default copy --- .../infrastructure/config/components/AIModelConfig.scss | 9 +++++++++ .../infrastructure/config/components/AIModelConfig.tsx | 1 + src/web-ui/src/locales/zh-CN/settings/ai-model.json | 2 +- src/web-ui/src/locales/zh-TW/settings/ai-model.json | 2 +- 4 files changed, 12 insertions(+), 2 deletions(-) diff --git a/src/web-ui/src/infrastructure/config/components/AIModelConfig.scss b/src/web-ui/src/infrastructure/config/components/AIModelConfig.scss index f01bbf526..c691f51f5 100644 --- a/src/web-ui/src/infrastructure/config/components/AIModelConfig.scss +++ b/src/web-ui/src/infrastructure/config/components/AIModelConfig.scss @@ -64,6 +64,15 @@ } } + // Model list owns its own provider-group cards; drop the section body chrome. + &__models-section { + > .bitfun-config-page-section__body { + border: 0; + border-radius: 0; + background: transparent; + } + } + &__collection { display: flex; flex-direction: column; diff --git a/src/web-ui/src/infrastructure/config/components/AIModelConfig.tsx b/src/web-ui/src/infrastructure/config/components/AIModelConfig.tsx index cdbfb492b..ec814dffa 100644 --- a/src/web-ui/src/infrastructure/config/components/AIModelConfig.tsx +++ b/src/web-ui/src/infrastructure/config/components/AIModelConfig.tsx @@ -2660,6 +2660,7 @@ const AIModelConfig: React.FC = () => { 专业智能体”可为每个 Subagent 单独配置模型", "updateFailed": "更新 Subagent 默认模型失败" }, diff --git a/src/web-ui/src/locales/zh-TW/settings/ai-model.json b/src/web-ui/src/locales/zh-TW/settings/ai-model.json index db8b02aa2..1bc47906a 100644 --- a/src/web-ui/src/locales/zh-TW/settings/ai-model.json +++ b/src/web-ui/src/locales/zh-TW/settings/ai-model.json @@ -12,7 +12,7 @@ "title": "Subagent 模型", "default": { "label": "Subagent 預設模型", - "description": "未單獨指定時,Subagent 使用的預設模型", + "description": "Subagent 未單獨設定模型時,統一使用此模型", "configureTooltip": "設定 Subagent 的預設模型。前往「定製 > 專業智能體」可為每個 Subagent 個別設定模型", "updateFailed": "更新 Subagent 預設模型失敗" },