mirror of
https://github.com/voideditor/void
synced 2026-05-24 09:58:23 +00:00
auto-approve
This commit is contained in:
parent
730758cbec
commit
b9405a76cd
2 changed files with 3 additions and 3 deletions
|
|
@ -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>
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in a new issue