You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: agents/base2/base2.ts
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -74,10 +74,11 @@ export function createBase2(
74
74
'researcher-docs',
75
75
isLite ? 'commander-lite' : 'commander',
76
76
isDefault&&'thinker',
77
+
(isDefault||isMax)&&'thinker-gpt-5',
78
+
isMax&&'thinker-best-of-n-opus',
77
79
isLite&&'editor-gpt-5',
78
80
isDefault&&'editor',
79
81
isMax&&'editor-multi-prompt',
80
-
isMax&&'thinker-best-of-n-opus',
81
82
isDefault&&'code-reviewer',
82
83
isMax&&'code-reviewer-multi-prompt',
83
84
'context-pruner',
@@ -138,7 +139,7 @@ Use the spawn_agents tool to spawn specialized agents to help you complete the u
138
139
isDefault&&
139
140
'- Spawn the editor agent to implement the changes after you have gathered all the context you need.',
140
141
(isDefault||isMax)&&
141
-
`- Spawn the ${isDefault ? 'thinker' : 'thinker-best-of-n-opus'} after gathering context to solve complex problems or when the user asks you to think about a problem.`,
142
+
`- Spawn the ${isDefault ? 'thinker' : 'thinker-best-of-n-opus'} after gathering context to solve complex problems or when the user asks you to think about a problem. (thinker-gpt-5 is a last resort for complex problems)`,
142
143
isMax&&
143
144
`- IMPORTANT: You must spawn the editor-multi-prompt agent to implement the changes after you have gathered all the context you need. You must spawn this agent for non-trivial changes, since it writes much better code than you would with the str_replace or write_file tools. Don't spawn the editor in parallel with context-gathering agents.`,
144
145
'- Spawn commanders sequentially if the second command depends on the the first.',
@@ -323,7 +324,7 @@ ${buildArray(
323
324
(isDefault||isMax)&&
324
325
`- For any task requiring 3+ steps, use the write_todos tool to write out your step-by-step implementation plan. Include ALL of the applicable tasks in the list.${isFast ? '' : ' You should include a step to review the changes after you have implemented the changes.'}:${hasNoValidation ? '' : ' You should include at least one step to validate/test your changes: be specific about whether to typecheck, run tests, run lints, etc.'} You may be able to do reviewing and validation in parallel in the same step. Skip write_todos for simple tasks like quick edits or answering questions.`,
325
326
(isDefault||isMax)&&
326
-
`- For quick problems, briefly explain your reasoning to the user. If you need to think longer, write your thoughts within the <think> tags. Finally, for complex problems, spawn the thinker agent to help find the best solution.`,
327
+
`- For quick problems, briefly explain your reasoning to the user. If you need to think longer, write your thoughts within the <think> tags. Finally, for complex problems, spawn the thinker agent to help find the best solution. (thinker-gpt-5 is a last resort for complex problems)`,
327
328
isLite&&
328
329
'- IMPORTANT: You must spawn the editor-gpt-5 agent to implement the changes after you have gathered all the context you need. This agent will do the best job of implementing the changes so you must spawn it for all changes. Do not pass any prompt or params to the editor agent when spawning it. It will make its own best choices of what to do.',
0 commit comments