refactor: Reorganize Claude MaxTokens configuration UI layout

This commit is contained in:
1808837298@qq.com
2025-02-27 22:12:14 +08:00
parent d0bc8d17d1
commit ae5b874a6c

View File

@@ -102,6 +102,17 @@ export default function SettingClaudeModel(props) {
/>
</Col>
</Row>
<Row>
<Col span={8}>
<Form.InputNumber
label={t('缺省 MaxTokens')}
field={'claude.thinking_adapter_max_tokens'}
initValue={''}
extraText={t('客户端没有指定MaxTokens时的缺省值')}
onChange={(value) => setInputs({ ...inputs, 'claude.thinking_adapter_max_tokens': value })}
/>
</Col>
</Row>
<Row>
<Col span={16}>
<Form.Switch
@@ -120,15 +131,6 @@ export default function SettingClaudeModel(props) {
</Col>
</Row>
<Row>
<Col span={8}>
<Form.InputNumber
label={t('缺省 MaxTokens')}
field={'claude.thinking_adapter_max_tokens'}
initValue={''}
extraText={t('客户端没有指定MaxTokens时的缺省值')}
onChange={(value) => setInputs({ ...inputs, 'claude.thinking_adapter_max_tokens': value })}
/>
</Col>
<Col span={8}>
<Form.InputNumber
label={t('思考适配 BudgetTokens 百分比')}