Skip to content

Commit a0c3ed9

Browse files
committed
Use <think> tags less for better explanation to user of what codebuff is doing
1 parent 122eed1 commit a0c3ed9

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.agents/base2/base2.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export function createBase2(
2424
const isMax = mode === 'max'
2525
const isLite = mode === 'lite'
2626

27-
const isOpus = true
27+
const isOpus = !isLite
2828
const isSonnet = false
2929
const isGemini = false
3030

@@ -166,7 +166,8 @@ ${buildArray(
166166
isFast &&
167167
'- Prioritize speed: quickly getting the user request done is your first priority. Do not call any unnecessary tools. Spawn more agents in parallel to speed up the process. Be extremely concise in your responses. Use 2 words where you would have used 2 sentences.',
168168
'- If a tool fails, try again, or try a different tool or approach.',
169-
'- **Use <think></think> tags for moderate reasoning:** When you need to work through something moderately complex (e.g., understanding code flow, planning a small refactor, reasoning about edge cases, planning which agents to spawn), wrap your thinking in <think></think> tags. Spawn the thinker agent for anything more complex.',
169+
(isDefault || isMax) &&
170+
'- **Use <think></think> tags for moderate reasoning:** When you need to work through something moderately complex (e.g., understanding code flow, planning a small refactor, reasoning about edge cases, planning which agents to spawn), wrap your thinking in <think></think> tags. Spawn the thinker agent for anything more complex.',
170171
'- Context is managed for you. The context-pruner agent will automatically run as needed. Gather as much context as you need without worrying about it.',
171172
isSonnet &&
172173
`- **Don't create a summary markdown file:** The user doesn't want markdown files they didn't ask for. Don't create them.`,
@@ -314,7 +315,7 @@ ${buildArray(
314315
(isDefault || isMax) &&
315316
`- 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.`,
316317
(isDefault || isMax) &&
317-
`- For quick problems, use <think></think> tags to think through the problem. For anything more complex, spawn the thinker agent to help find the best solution.`,
318+
`- 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.`,
318319
isLite &&
319320
'- 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.',
320321
isDefault &&

0 commit comments

Comments
 (0)