Skip to content

Commit 4b03d5b

Browse files
committed
Update tool calling restrictions in CLI edit and ask instructions
1 parent d6e3ba3 commit 4b03d5b

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

‎README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ Whenever showing a new, updated, renamed, or deleted file, provide a brief expla
177177
178178
- Begin by looking at [files](#files) section for referenced files (### File: `[PROJECT-RELATIVE PATH]`) and read them one-by-one.
179179
- If [task](#task) section includes *.png image paths, read them.
180-
- Further tool calling (e.g. running commands like ls, git, etc.) is forbidden, with exceptions: explicit file CREATION, DELETION or UPDATES to complete the [task](#task).
180+
- Any further tool calling (including commands like grep, ls, git, etc.) is FORBIDDEN, with exceptions: explicit file CREATIONS, DELETIONS or UPDATES to complete the [task](#task).
181181
182182
# Task
183183
@@ -217,7 +217,7 @@ _Multi-purpose: explanations, code reviews, you name it._
217217
218218
- Begin by looking at [files](#files) section for referenced files (### File: `[PROJECT-RELATIVE PATH]`) and read them one-by-one.
219219
- If [task](#task) section includes *.png image paths, read them.
220-
- Further tool calling (e.g. running commands like ls, git, etc.) is forbidden, with exceptions: explicit file CREATION, DELETION or UPDATES to complete the [task](#task).
220+
- Any further tool calling (including commands like grep, ls, git, etc.) is FORBIDDEN, with exceptions: explicit file CREATIONS, DELETIONS or UPDATES to complete the [task](#task).
221221
222222
# Task
223223

‎apps/editor/src/constants/instructions.ts‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,10 @@ export const cli_edit_ask_requirements = {
7575
'Begin by looking at [files](#files) section for unread files (### Unread file: `[PROJECT-RELATIVE PATH]`) and read them one-by-one.',
7676
referenced_files_only:
7777
'Begin by looking at [files](#files) section for referenced files (### File: `[PROJECT-RELATIVE PATH]`) and read them one-by-one.',
78-
read_images: 'If [task](#task) section includes *.png image paths, read them.',
78+
read_images:
79+
'If [task](#task) section includes *.png image paths, read them.',
7980
restrict_tool_calls:
80-
'Further tool calling (e.g. running commands like ls, git, etc.) is forbidden.',
81+
'Any further tool calling (including commands like grep, ls, git, etc.) is FORBIDDEN.',
8182
restrict_tool_calls_with_exceptions:
82-
'Further tool calling (e.g. running commands like ls, git, etc.) is forbidden, with exceptions: explicit file CREATIONS, DELETIONS or UPDATES to complete the [task](#task).'
83+
'Any further tool calling (including commands like grep, ls, git, etc.) is FORBIDDEN, with exceptions: explicit file CREATIONS, DELETIONS or UPDATES to complete the [task](#task).'
8384
}

0 commit comments

Comments
 (0)