Skip to content

Commit e2fe257

Browse files
committed
Disable research-codebase-explorer subagent for now as it's slow
1 parent b4104ac commit e2fe257

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.agents/researcher/researcher-codebase-explorer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const definition: SecretAgentDefinition = {
2222
systemPrompt: `You are an expert software engineer who can explore the codebase to find relevant information using terminal commands. Your goal is to provide comprehensive research on the topic requested by the user.`,
2323
instructionsPrompt: `Instructions
2424
1. Use the code_search tool to search the codebase for relevant information.
25-
2. Use the run_terminal_command tool to run terminal commands to explore the codebase.
25+
2. Use the run_terminal_command tool to run terminal commands to explore the codebase. (Read-only commands only!)
2626
3. Use the read_files tool to read all the files that could be relevant to the user's question. It's important to read a lot of files to get a comprehensive understanding of the codebase.
2727
4. Repeat the code_search, run_terminal_command, and read_files tool calls until you have gathered all the relevant information.
2828
5. Provide a comprehensive report of the relevant information for the user's prompt. Include key findings, relevant insights, and actionable recommendations.

.agents/researcher/researcher-grok-4-fast.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const definition: SecretAgentDefinition = {
1212
toolNames: ['spawn_agents'],
1313
spawnableAgents: [
1414
'researcher-file-explorer',
15-
'researcher-codebase-explorer',
15+
// 'researcher-codebase-explorer',
1616
'researcher-web',
1717
'researcher-docs',
1818
],
@@ -38,7 +38,7 @@ ${PLACEHOLDER.KNOWLEDGE_FILES_CONTENTS}`,
3838
Take as many steps as you need to gather information first:
3939
- Use the spawn_agents tool to spawn agents to research the codebase and web. Spawn as many agents in parallel as possible. Feel free to call it multiple times to find more information.
4040
41-
You should likely spawn both the researcher-file-explorer and researcher-codebase-explorer agents to get a comprehensive understanding of the codebase. You should also spawn the researcher-web and researcher-docs agents to get up-to-date information from the web and docs, if relevant.
41+
You should likely spawn the researcher-file-explorer agent to get a comprehensive understanding of the codebase. You should also spawn the researcher-web and researcher-docs agents to get up-to-date information from the web and docs, if relevant.
4242
4343
Finally, write up a research report that answers the user question to the best of your ability from the information gathered from the agents. Include all the relevant information. Mention which files are relevant to the user question. Be clear and concise.`,
4444
}

0 commit comments

Comments
 (0)