mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-19 22:52:08 +08:00
feat(SessionModal): add multiline support for tools selection
Enable multiline display for the tools selection dropdown to improve visibility when multiple tools are selected
This commit is contained in:
parent
75660766db
commit
3e2acde9e2
@ -361,6 +361,7 @@ export const SessionModal: React.FC<Props> = ({
|
|||||||
/>
|
/>
|
||||||
<Select
|
<Select
|
||||||
selectionMode="multiple"
|
selectionMode="multiple"
|
||||||
|
isMultiline
|
||||||
selectedKeys={selectedToolKeys}
|
selectedKeys={selectedToolKeys}
|
||||||
onSelectionChange={onAllowedToolsChange}
|
onSelectionChange={onAllowedToolsChange}
|
||||||
label={t('agent.session.allowed_tools.label')}
|
label={t('agent.session.allowed_tools.label')}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user