Skip to content

Commit 525fd0b

Browse files
committed
Refine CLI edit ask instructions to specify forbidden shell commands and remove redundant file search prohibition
1 parent 456086c commit 525fd0b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,9 @@ export const voice_input_instructions =
7070

7171
export const cli_edit_ask_requirements = {
7272
preloaded_context:
73-
"All project's files were preloaded to [files](#files). If [task](#task) includes *.png image paths, read them. Looking for other files is FORBIDDEN.",
73+
"All project's files were preloaded to [files](#files). If [task](#task) includes *.png image paths, read them.",
7474
restrict_tool_calls:
75-
'Running any additional tools or shell commands is FORBIDDEN.',
75+
'Running any other tools or shell commands (grep, glob, ls, git, etc.) is FORBIDDEN.',
7676
restrict_tool_calls_with_exceptions:
77-
'You may only perform file operations (create, update, delete) required to complete the [task](#task); running any other tools or shell commands is FORBIDDEN.'
77+
'You may only perform file operations (create, update, delete) required to complete the [task](#task); running any other tools or shell commands (grep, glob, ls, git, etc.) is FORBIDDEN.'
7878
}

0 commit comments

Comments
 (0)