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
'Lists up to 12 files that are relevant to the prompt within the given directories. Unless you know which directories are relevant, omit the directories parameter. This agent is great for finding files that could be relevant to the prompt.',
systemPrompt: `You are an expert at finding relevant files in a codebase and listing them out.`,
35
34
instructionsPrompt: `Instructions:
35
+
- List out the full paths of 12 files that are relevant to the prompt, separated by newlines. Each file path is relative to the project root. Don't forget to include all the subdirectories in the path -- sometimes you have forgotten to include 'src' in the path. Make sure that the file paths are exactly correct.
36
36
- Do not write any introductory commentary.
37
37
- Do not write any analysis or any English text at all.
38
38
- Do not use any more tools. Do not call read_subtree again.
39
-
- List out the full paths of up to 12 files that are relevant to the prompt, separated by newlines. Each file path is relative to the project root. Don't forget to include all the subdirectories in the path -- sometimes you have forgotten to include 'src' in the path.
40
39
40
+
Here's an example response with made up file paths (these are not real file paths, just an example):
41
41
<example_response>
42
42
packages/core/src/index.ts
43
43
packages/core/src/api/server.ts
@@ -53,7 +53,7 @@ package.json
53
53
README.md
54
54
</example_response>
55
55
56
-
Again: Do not write anything else other than the file paths on new lines.
56
+
Again: Do not call any tools or write anything else other than the chosen file paths on new lines. Go.
57
57
`.trim(),
58
58
59
59
handleSteps: function*({ params }){
@@ -66,8 +66,13 @@ Again: Do not write anything else other than the file paths on new lines.
0 commit comments