diff --git a/src/renderer/src/pages/settings/AgentSettings/AgentToolingSettings.tsx b/src/renderer/src/pages/settings/AgentSettings/AgentToolingSettings.tsx index 332eeee1bd..328e6bd197 100644 --- a/src/renderer/src/pages/settings/AgentSettings/AgentToolingSettings.tsx +++ b/src/renderer/src/pages/settings/AgentSettings/AgentToolingSettings.tsx @@ -309,6 +309,7 @@ export const AgentToolingSettings: FC = ({ agent, upd const isSelected = card.mode === selectedMode const disabled = card.unsupported const showCaution = card.caution + return ( = ({ agent, upd {t(card.behaviorKey, card.behaviorFallback)} {showCaution ? ( - - - {t( - 'agent.settings.tooling.permissionMode.bypassPermissions.warning', - 'Use with caution — all tools will run without asking for approval.' - )} - +
+ + + {t( + 'agent.settings.tooling.permissionMode.bypassPermissions.warning', + 'Use with caution — all tools will run without asking for approval.' + )} + +
) : null}
@@ -375,7 +378,7 @@ export const AgentToolingSettings: FC = ({ agent, upd onValueChange={setSearchTerm} placeholder={t('agent.settings.tooling.preapproved.search', 'Search tools')} aria-label={t('agent.settings.tooling.preapproved.search', 'Search tools')} - className="max-w-md" + className="w-full" />
{filteredTools.length === 0 ? (