Skip to content

Commit 8715216

Browse files
committed
Fix base2 to reference code-reviewer-multi-prompt
1 parent 40ad1ff commit 8715216

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

agents/base2/base2.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -206,13 +206,13 @@ ${
206206
207207
${
208208
isDefault || isMax
209-
? `[ You spawn a ${isDefault ? 'code-reviewer' : 'reviewer-editor-gpt-5'}, a commander to typecheck the changes, and another commander to run tests, all in parallel ]`
209+
? `[ You spawn a ${isDefault ? 'code-reviewer' : 'code-reviewer-multi-prompt'}, a commander to typecheck the changes, and another commander to run tests, all in parallel ]`
210210
: '[ You spawn a commander to typecheck the changes and another commander to run tests, all in parallel ]'
211211
}
212212
213213
${
214214
isDefault || isMax
215-
? `[ You fix the issues found by the ${isDefault ? 'code-reviewer' : 'reviewer-editor-gpt-5'} and type/test errors ]`
215+
? `[ You fix the issues found by the ${isDefault ? 'code-reviewer' : 'code-reviewer-multi-prompt'} and type/test errors ]`
216216
: '[ You fix the issues found by the type/test errors and spawn more commanders to confirm ]'
217217
}
218218
@@ -332,7 +332,7 @@ ${buildArray(
332332
isFast &&
333333
'- Do a single typecheck targeted for your changes at most (if applicable for the project). Or skip this step if the change was small.',
334334
(isDefault || isMax) &&
335-
`- Spawn a ${isDefault ? 'code-reviewer' : 'reviewer-editor-gpt-5'} to review the changes after you have implemented the changes. (Skip this step only if the change is extremely straightforward and obvious.)`,
335+
`- Spawn a ${isDefault ? 'code-reviewer' : 'code-reviewer-multi-prompt'} to review the changes after you have implemented the changes. (Skip this step only if the change is extremely straightforward and obvious.)`,
336336
!hasNoValidation &&
337337
`- For non-trivial changes, test them by running appropriate validation commands for the project (e.g. typechecks, tests, lints, etc.). Try to run all appropriate commands in parallel. ${isMax ? ' Typecheck and test the specific area of the project that you are editing *AND* then typecheck and test the entire project if necessary.' : ' If you can, only test the area of the project that you are editing, rather than the entire project.'} You may have to explore the project to find the appropriate commands. Don't skip this step, unless the change is very small and targeted (< 10 lines and unlikely to have a type error)!`,
338338
`- Inform the user that you have completed the task in one sentence or a few short bullet points.${isSonnet ? " Don't create any markdown summary files or example documentation files, unless asked by the user." : ''}`,
@@ -363,9 +363,9 @@ function buildImplementationStepPrompt({
363363
isMax &&
364364
`Keep working until the user's request is completely satisfied${!hasNoValidation ? ' and validated' : ''}, or until you require more information from the user.`,
365365
isMax &&
366-
`You must spawn the 'editor-multi-prompt' agent to implement code changes, since it will generate the best code changes.`,
366+
`You must spawn the 'editor-multi-prompt' agent to implement code changes rather than using the str_replace or write_file tools, since it will generate the best code changes.`,
367367
(isDefault || isMax) &&
368-
`Spawn ${isDefault ? 'code-reviewer' : 'reviewer-editor-gpt-5'} to review the changes after you have implemented the changes and in parallel with typechecking or testing.`,
368+
`You must spawn a ${isDefault ? 'code-reviewer' : 'code-reviewer-multi-prompt'} to review the changes after you have implemented the changes and in parallel with typechecking or testing.`,
369369
`After completing the user request, summarize your changes in a sentence${isFast ? '' : ' or a few short bullet points'}.${isSonnet ? " Don't create any summary markdown files or example documentation files, unless asked by the user." : ''} Don't repeat yourself, especially if you have already concluded and summarized the changes in a previous step -- just end your turn.`,
370370
!isFast &&
371371
!noAskUser &&

0 commit comments

Comments
 (0)