Skip to content

Commit 7cc333e

Browse files
committed
Rename CLI prompt Requirements section to Rules and clarify files wording
1 parent 72834f9 commit 7cc333e

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

‎README.md‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -175,10 +175,10 @@ Whenever showing a new, updated, renamed, or deleted file, provide a brief expla
175175
176176
[EDIT FORMAT INSTRUCTIONS]
177177
178-
# Requirements
178+
# Rules
179179
180180
* This is a read-only session.
181-
* Read all attached files using their project-relative paths in full, and nothing else.
181+
* Read all the listed files using their project-relative paths in full, and nothing else.
182182
* Formulate response adhering to the output formatting, in plain text.
183183
184184
# Task
@@ -216,10 +216,10 @@ _Multi-purpose: explanations, code reviews, you name it._
216216
- `[SELECTED FILE PATH 1]`
217217
- `[SELECTED FILE PATH 2]`
218218
219-
# Requirements
219+
# Rules
220220
221-
* This is a read-only session.
222-
* Read all attached files using their project-relative paths in full, and nothing else.
221+
- This is a read-only session.
222+
- Read all attached files using their project-relative paths in full, and nothing else.
223223
224224
# Task
225225

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export const voice_input_instructions =
7070
'Respond with a transcription of the following audio recording or text "INAUDIBLE", and nothing else.'
7171

7272
export const cli_edit_requirements = `- This is a read-only session.
73-
- Read all attached files using their project-relative paths in full, and nothing else.
73+
- Read all the listed files using their project-relative paths in full, and nothing else.
7474
- Formulate response adhering to the output formatting, in plain text.`
7575

7676
export const cli_ask_requirements = `- This is a read-only session.

‎apps/editor/src/views/prompt/backend/message-handlers/utils/build-cli-prompt.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export const build_cli_prompt = async (params: {
6868
}
6969
}
7070

71-
const requirements_section = `# Requirements\n\n${
71+
const requirements_section = `# Rules\n\n${
7272
prompt_view_provider.cli_prompt_type == 'ask-about-files'
7373
? cli_ask_requirements
7474
: cli_edit_requirements

0 commit comments

Comments
 (0)