feat: add new AI models and improve UI layout in settings

This commit is contained in:
shiyu
2026-01-11 23:18:54 +08:00
parent 87770176b6
commit ab6562fc79
3 changed files with 105 additions and 39 deletions
@@ -998,14 +998,16 @@ export default function AiSettingsTab() {
<div className="fx-ai-default-desc">{t(info.description)}</div>
</div>
</div>
<Select
allowClear
style={{ minWidth: 280 }}
placeholder={t('Select a model')}
value={defaultSelections[ability] ?? undefined}
options={options}
onChange={(value) => updateSelection(ability, value ?? null)}
/>
<div className="fx-ai-default-control">
<Select
allowClear
className="fx-ai-default-select"
placeholder={t('Select a model')}
value={defaultSelections[ability] ?? undefined}
options={options}
onChange={(value) => updateSelection(ability, value ?? null)}
/>
</div>
</div>
);
})}