Skip to content

Commit 64a3618

Browse files
committed
wip
1 parent 7cc7f7e commit 64a3618

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

doc/codecompanion.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3876,6 +3876,8 @@ approved at a command level. Taking the `cmd_runner` tool as an example. If you
38763876
approve an agent to always run `make format`, if it tries to run `make test`,
38773877
you’ll be prompted to approve that command specifically.
38783878

3879+
Approvals can be reset for the given chat buffer by using the `gtx` keymap.
3880+
38793881

38803882
YOLO MODE
38813883

doc/usage/chat-buffer/tools.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,8 @@ When prompted, the user has four options available to them:
356356

357357
Certain tools with potentially destructive capabilities have an additional layer of protection. Instead of being approved at a tool level, these are approved at a command level. Taking the `cmd_runner` tool as an example. If you approve an agent to always run `make format`, if it tries to run `make test`, you'll be prompted to approve that command specifically.
358358

359+
Approvals can be reset for the given chat buffer by using the `gtx` keymap.
360+
359361
### YOLO mode
360362

361363
To bypass the approval system, you can use `gty` in the chat buffer to enable YOLO mode. This will automatically approve all tool executions without prompting the user. However, note that some tools such as `cmd_runner` and `delete_file` are excluded from this.

0 commit comments

Comments
 (0)