auto-approve

This commit is contained in:
Andrew Pareles 2025-03-18 04:51:23 -07:00
parent 730758cbec
commit b9405a76cd
2 changed files with 3 additions and 3 deletions

View file

@ -1204,13 +1204,13 @@ const ToolRequestAcceptRejectButtons = () => {
)
const autoApproveToggle = (
<div className="flex items-center ml-2 gap-x-1" title="Auto-accept future tool calls">
<div className="flex items-center ml-2 gap-x-1">
<VoidSwitch
size="xs"
value={voidSettingsState.globalSettings.autoApprove}
onChange={onToggleAutoApprove}
/>
<span className="text-void-fg-3 text-xs">Auto</span>
<span className="text-void-fg-3 text-xs">Auto-approve</span>
</div>
)

View file

@ -545,7 +545,7 @@ export const FeaturesTab = () => {
value={voidSettingsState.globalSettings.autoApprove}
onChange={(newVal) => voidSettingsService.setGlobalSetting('autoApprove', newVal)}
/>
<span className='text-void-fg-3 text-xs pointer-events-none'>{voidSettingsState.globalSettings.autoApprove ? 'Auto-approve' : 'User-approve'}</span>
<span className='text-void-fg-3 text-xs pointer-events-none'>{voidSettingsState.globalSettings.autoApprove ? 'Auto-approve' : 'Auto-approve'}</span>
</div>
</div>
</div>