Skip to content

Commit eb5a4dc

Browse files
committed
max: ask questions if needed
1 parent f62ed7d commit eb5a4dc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.agents/base2/base2.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,8 @@ ${buildArray(
291291
EXPLORE_PROMPT,
292292
isMax &&
293293
`- Important: Read as many files as could possibly be relevant to the task over several steps to improve your understanding of the user's request and produce the best possible code changes. Find more examples within the codebase similar to the user's request, dependencies that help with understanding how things work, tests, etc. This is frequently 12-20 files, depending on the task.`,
294+
isMax &&
295+
'If needed, use the ask_user tool to ask the user for clarification on their request or alternate implementation strategies. It is good to get context on the codebase before asking questions so you can ask informed questions.',
294296
(isDefault || isMax) &&
295297
`- 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.`,
296298
isDefault &&

0 commit comments

Comments
 (0)