Skip to content

Commit 086806c

Browse files
committed
Update prune context instructions to include tests and type definitions in file search
1 parent 545267b commit 086806c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎packages/vscode/src/constants/instructions.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ export const intelligent_update_instructions =
2929
export const commit_message_instructions =
3030
"Write a brief and precise summary for the changes, limited to a single sentence, if possible and nothing else. Because the summary will be used for a commit message, don't use any markdown formatting. Use an imperative tone to ensure clarity and focus on the primary change or purpose."
3131

32-
export const prune_context_instructions = `Find relevant files for the task.
32+
export const prune_context_instructions = `Find all files building modules the task touches (including tests, type definitions, etc.).
3333
<system>
34-
Your response must begin with "**Relevant files:**", then list paths relevant for the task one under another. Don't send anything else. Example:
34+
Your response must begin with "**Relevant files:**", then list paths one under another. Don't send anything else. Example:
3535
3636
**Relevant files:**
3737

0 commit comments

Comments
 (0)