docs: fix misleading YOLO mode description in defaultApprovalMode (#21878)

Co-authored-by: Adib234 <30782825+Adib234@users.noreply.github.com>
Co-authored-by: A.K.M. Adib <adibakm@google.com>
This commit is contained in:
Gyanranjan Priyam
2026-03-11 20:40:55 +05:30
committed by GitHub
parent 3e3d04877b
commit 99bbbc2170
4 changed files with 19 additions and 17 deletions
+2 -1
View File
@@ -204,7 +204,8 @@ const SETTINGS_SCHEMA = {
description: oneLine`
The default approval mode for tool execution.
'default' prompts for approval, 'auto_edit' auto-approves edit tools,
and 'plan' is read-only mode. 'yolo' is not supported yet.
and 'plan' is read-only mode. YOLO mode (auto-approve all actions) can
only be enabled via command line (--yolo or --approval-mode=yolo).
`,
showInDialog: true,
options: [