Skip to content

Commit e858700

Browse files
committed
agents: Prevent file-lister from using read subtree again
1 parent a161c0d commit e858700

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)