mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-09 14:59:27 +08:00
style: remove small size prop from Switch component in AssistantModel… (#5833)
style: remove small size prop from Switch component in AssistantModelSettings Co-authored-by: kanweiwei <kanweiwei@nutstore.net>
This commit is contained in:
parent
3bf0b6b315
commit
cf9aaf3ecf
@ -381,7 +381,6 @@ const AssistantModelSettings: FC<Props> = ({ assistant, updateAssistant, updateA
|
|||||||
<SettingRow style={{ minHeight: 30 }}>
|
<SettingRow style={{ minHeight: 30 }}>
|
||||||
<Label>{t('models.enable_tool_use')}</Label>
|
<Label>{t('models.enable_tool_use')}</Label>
|
||||||
<Switch
|
<Switch
|
||||||
size="small"
|
|
||||||
checked={enableToolUse}
|
checked={enableToolUse}
|
||||||
onChange={(checked) => {
|
onChange={(checked) => {
|
||||||
setEnableToolUse(checked)
|
setEnableToolUse(checked)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user