Skip to content

Commit 664f225

Browse files
committed
agents: Prevent file-lister from using read subtree again
1 parent 8ae5b09 commit 664f225

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

agents/file-explorer/file-lister.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export const createFileLister = (): Omit<SecretAgentDefinition, 'id'> => ({
2727
},
2828
outputMode: 'last_message',
2929
includeMessageHistory: false,
30-
toolNames: ['read_subtree'],
30+
toolNames: [],
3131
spawnableAgents: [],
3232

3333
systemPrompt: `You are an expert at finding relevant files in a codebase and listing them out.`,

0 commit comments

Comments
 (0)