Skip to content

Commit a6f119c

Browse files
committed
Tweak prompt for file-picker to not spawn extra agents
1 parent fcfd881 commit a6f119c

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.agents/file-explorer/file-picker.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,10 @@ const definition: SecretAgentDefinition = {
4343

4444
systemPrompt: `You are an expert at finding relevant files in a codebase. ${PLACEHOLDER.FILE_TREE_PROMPT}`,
4545
instructionsPrompt: `Instructions:
46-
Provide an extremely short report of the locations in the codebase that could be helpful. Focus on the files that are most relevant to the user prompt. Leave out irrelevant locations.
46+
Provide an extremely short report of the locations in the codebase that could be helpful. Focus on the files that are most relevant to the user prompt.
4747
In your report, please give a very concise analysis that includes the full paths of files that are relevant and (extremely briefly) how they could be useful.
48+
49+
Do not use any further tools or spawn any further agents.
4850
`.trim(),
4951

5052
handleSteps: function* ({ prompt, params }) {

0 commit comments

Comments
 (0)