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

View File

@@ -105,7 +105,8 @@ their corresponding top-level category object in your `settings.json` file.
- **`general.defaultApprovalMode`** (enum):
- **Description:** 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.
read-only mode. YOLO mode (auto-approve all actions) can only be enabled via
command line (--yolo or --approval-mode=yolo).
- **Default:** `"default"`
- **Values:** `"default"`, `"auto_edit"`, `"plan"`