You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: core/prompts/partials/filter_files_actions.prompt
+10-4
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,13 @@ Here is the current relevant files list:
2
2
{% if relevant_files %}{{ relevant_files }}{% else %}[]{% endif %}
3
3
4
4
Now, with multiple iterations you have to find relevant files for the current task. Here are commands that you can use:
5
-
- `read_file` - list of files that you want to read
6
-
- `add_file` - add file to the list of relevant files
7
-
- `remove_file` - remove file from the list of relevant files
8
-
- `finished` - boolean command that you will use when you finish with adding files
5
+
- `read_files` - List of files that you want to read.
6
+
- `add_files` - Add file to the list of relevant files.
7
+
- `remove_files` - Remove file from the list of relevant files.
8
+
- `finished` - Boolean command that you will use when you finish with finding relevant files.
9
+
10
+
Make sure to follow these rules:
11
+
- All files that you want to read or add to the list of relevant files, must exist in the project. Do not ask to read or add file that does not exist! In the first message you have list of all files that currently exist in the project.
12
+
- Do not repeat actions that you have already done. For example if you already added "index.js" to the list of relevant files you must not add it again.
13
+
- You must read the file before adding it to the list of relevant files. Do not `add_files` that you didn't read and see the content of the file.
14
+
- Focus only on your current task `{{ state.current_task.description }}` when selecting relevant files.
0 commit comments