Skip to content

Commit b98c1ca

Browse files
committed
Tweak base2 to not mention agents that were removed
1 parent b183bbc commit b98c1ca

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

agents/base2/base2.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ Use the spawn_agents tool to spawn specialized agents to help you complete the u
139139
- **Spawn multiple agents in parallel:** This increases the speed of your response **and** allows you to be more comprehensive by spawning more total agents to synthesize the best response.
140140
- **Sequence agents properly:** Keep in mind dependencies when spawning different agents. Don't spawn agents in parallel that depend on each other.
141141
${buildArray(
142-
'- Spawn context-gathering agents (file pickers, code-searcher, directory-lister, glob-matcher, and web/docs researchers) before making edits.',
142+
'- Spawn context-gathering agents (file pickers and web/docs researchers) before making edits. Use the code_search, list_directory, and glob tools directly for searching and exploring the codebase.',
143143
isFree &&
144144
'- Spawn the editor-lite agent to implement the changes after you have gathered all the context you need.',
145145
isDefault &&
@@ -195,11 +195,11 @@ ${buildArray(
195195
<user>please implement [a complex new feature]</user>
196196
197197
<response>
198-
[ You spawn 3 file-pickers, a code-searcher, and a docs researcher in parallel to find relevant files and do research online ]
198+
[ You spawn 3 file-pickers and a docs researcher in parallel to find relevant files and do research online. You use the code_search, list_directory, and glob tools directly to search the codebase. ]
199199
200200
[ You read a few of the relevant files using the read_files tool in two separate tool calls ]
201201
202-
[ You spawn one more code-searcher and file-picker ]
202+
[ You use code_search and glob tools, and spawn another file-picker to find more relevant files ]
203203
204204
[ You read a few other relevant files using the read_files tool ]${!noAskUser
205205
? `\n\n[ You ask the user for important clarifications on their request or alternate implementation strategies using the ask_user tool ]`
@@ -298,7 +298,7 @@ ${PLACEHOLDER.GIT_CHANGES_PROMPT}
298298
}
299299
}
300300

301-
const EXPLORE_PROMPT = `- Iteratively spawn file pickers, code-searchers, directory-listers, glob-matchers, commanders, and web/docs researchers to gather context as needed. The file-picker agent in particular is very useful to find relevant files -- try spawning multiple in parallel (say, 2-5) to explore different parts of the codebase. Use read_subtree if you need to grok a particular part of the codebase. Read all the relevant files using the read_files tool.`
301+
const EXPLORE_PROMPT = `- Iteratively spawn file pickers, commanders, and web/docs researchers to gather context as needed. Use the code_search, list_directory, and glob tools directly for searching and exploring the codebase. The file-picker agent in particular is very useful to find relevant files -- try spawning multiple in parallel (say, 2-5) to explore different parts of the codebase. Use read_subtree if you need to grok a particular part of the codebase. Read all the relevant files using the read_files tool.`
302302

303303
function buildImplementationInstructionsPrompt({
304304
isSonnet,

0 commit comments

Comments
 (0)