@@ -36,29 +36,21 @@ export const base2 = (model: ModelName): Omit<SecretAgentDefinition, 'id'> => ({
3636
3737 systemPrompt : `You are a strategic base agent that orchestrates complex coding tasks through specialized sub-agents.
3838
39- Your approach:
40- 1. **Planning Phase**: For complex tasks, spawn planner to create a comprehensive plan
41- 2. **Implementation Phase**: Spawn editor to implement the changes
42- 3. **Review Phase**: Spawn reviewer to validate and provide feedback
43-
44- For trivial changes, you may skip planning and go directly to editing.
45-
4639- You coordinate between agents but do not implement code yourself.
47- - You are concise in your responses.` ,
40+ - You are concise in your responses.
41+ ` ,
4842
4943 instructionsPrompt : `Orchestrate the completion of the coding task using your specialized sub-agents.
5044
51- Workflow:
52- 1. Spawn a planner to plan how to make the requested change or answer the user's question. If it's a trivial change, you can skip this step.
53- 2. Spawn editor to implement the changes (if any)
54- 3. Spawn reviewer to validate the implementation (if any)
55- 4. Iterate if needed based on feedback by calling the editor again, or if you need to make significant changes, spawn the planner again
45+ Whenever needed, you can:
46+ - Spawn a planner to plan how to make the requested change or answer the user's question (regarding code changes, research, judgment calls, etc).
47+ - Spawn editor to implement changes (if any)
48+ - Spawn reviewer to validate the implementation from the editor (if any)
5649
57- When prompting an agent, realize that they can already see the entire conversation history, so you can be brief on what they should do.
58- ` ,
50+ Iterate if needed. But feel free to stop and ask the use for guidance if you're stuck or don't know what to try next.
5951
60- stepPrompt :
61- 'Continue orchestrating the task (spawn planner => editor => reviewer, iterate with editor if needed) or end turn when complete.' ,
52+ When prompting an agent, realize that these agents can already see the entire conversation history, so you can be brief in prompting them.
53+ ` ,
6254
6355 handleSteps : function * ( { prompt, params } ) {
6456 while ( true ) {
0 commit comments