Explorar el Código

fix: Update Claude thinking adapter token percentage input guidance

1808837298@qq.com hace 1 año
padre
commit
4784ca7514
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      web/src/pages/Setting/Model/SettingClaudeModel.js

+ 3 - 1
web/src/pages/Setting/Model/SettingClaudeModel.js

@@ -133,7 +133,9 @@ export default function SettingClaudeModel(props) {
                   label={t('思考适配 BudgetTokens 百分比')}
                   field={'claude.thinking_adapter_budget_tokens_percentage'}
                   initValue={''}
-                  suffix={t('%')}
+                  extraText={t('0.1-1之间的小数')}
+                  min={0.1}
+                  max={1}
                   onChange={(value) => setInputs({ ...inputs, 'claude.thinking_adapter_budget_tokens_percentage': value })}
                 />
               </Col>