feat: Add --yolo mode that automatically accepts all tools executions (#695)

Co-authored-by: N. Taylor Mullen <ntaylormullen@google.com>
This commit is contained in:
Tolik Malibroda 2025-06-02 22:05:45 +02:00 committed by GitHub
parent 42bedbc3d3
commit 0795e55f0e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 364 additions and 156 deletions

View file

@ -134,6 +134,7 @@ export function useReactToolScheduler(
outputUpdateHandler,
onAllToolCallsComplete: allToolCallsCompleteHandler,
onToolCallsUpdate: toolCallsUpdateHandler,
approvalMode: config.getApprovalMode(),
});
}, [config, onComplete, setPendingHistoryItem]);