Skip to content

Commit 1f8cced

Browse files
authored
polish(settings): simplify models section chrome and clarify Subagent default copy (#1645)
1 parent 90a16b5 commit 1f8cced

4 files changed

Lines changed: 12 additions & 2 deletions

File tree

src/web-ui/src/infrastructure/config/components/AIModelConfig.scss

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,15 @@
6464
}
6565
}
6666

67+
// Model list owns its own provider-group cards; drop the section body chrome.
68+
&__models-section {
69+
> .bitfun-config-page-section__body {
70+
border: 0;
71+
border-radius: 0;
72+
background: transparent;
73+
}
74+
}
75+
6776
&__collection {
6877
display: flex;
6978
flex-direction: column;

src/web-ui/src/infrastructure/config/components/AIModelConfig.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2670,6 +2670,7 @@ const AIModelConfig: React.FC = () => {
26702670
</ConfigPageSection>
26712671

26722672
<ConfigPageSection
2673+
className="bitfun-ai-model-config__models-section"
26732674
title={tDefault('tabs.models')}
26742675
description={t('subtitle')}
26752676
extra={(

src/web-ui/src/locales/zh-CN/settings/ai-model.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"title": "Subagent 模型",
1313
"default": {
1414
"label": "Subagent 默认模型",
15-
"description": "未单独指定时,Subagent 使用的默认模型",
15+
"description": "Subagent 未单独配置模型时,统一使用此模型",
1616
"configureTooltip": "设置 Subagent 的默认模型。前往“定制 > 专业智能体”可为每个 Subagent 单独配置模型",
1717
"updateFailed": "更新 Subagent 默认模型失败"
1818
},

src/web-ui/src/locales/zh-TW/settings/ai-model.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"title": "Subagent 模型",
1313
"default": {
1414
"label": "Subagent 預設模型",
15-
"description": "未單獨指定時,Subagent 使用的預設模型",
15+
"description": "Subagent 未單獨設定模型時,統一使用此模型",
1616
"configureTooltip": "設定 Subagent 的預設模型。前往「定製 > 專業智能體」可為每個 Subagent 個別設定模型",
1717
"updateFailed": "更新 Subagent 預設模型失敗"
1818
},

0 commit comments

Comments
 (0)