Skip to content

Commit b76c537

Browse files
committed
Also spawn a code-reviewer-gpt for comprehensive review
1 parent 6262b29 commit b76c537

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

agents/base2/base2.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ export function createBase2(
8585
'tmux-cli',
8686
'browser-use',
8787
isFree && 'editor-gpt',
88-
isFree && 'code-reviewer-lite',
88+
isFree && 'code-reviewer-gpt',
8989
isDefault && 'code-reviewer',
9090
isMax && 'code-reviewer-multi-prompt',
9191
'thinker-gpt',
@@ -152,7 +152,7 @@ Use the spawn_agents tool to spawn specialized agents to help you complete the u
152152
isFree &&
153153
'- Implement code changes using the editor-gpt agent after you have gathered all the context you need. You must spawn this agent for all non-trivial changes since it is much better at writing code than you.',
154154
isFree &&
155-
'- Spawn a code-reviewer-lite to review the changes after you have implemented the changes.',
155+
'- Spawn a code-reviewer-gpt to review the changes after you have implemented the changes.',
156156
'- Spawn bashers sequentially if the second command depends on the the first.',
157157
isDefault &&
158158
'- Spawn a code-reviewer to review the changes after you have implemented the changes.',
@@ -216,7 +216,7 @@ ${isDefault
216216
${isDefault
217217
? `[ You spawn a code-reviewer, a basher to typecheck the changes, and another basher to run tests, all in parallel ]`
218218
: isFree
219-
? `[ You spawn a code-reviewer-lite to review the changes, and a basher to typecheck the changes, and another basher to run tests, all in parallel ]`
219+
? `[ You spawn a code-reviewer-gpt to review the changes, and a basher to typecheck the changes, and another basher to run tests, all in parallel ]`
220220
: isMax
221221
? `[ You spawn a basher to typecheck the changes, and another basher to run tests, in parallel. Then, you spawn a code-reviewer-multi-prompt to review the changes. ]`
222222
: '[ You spawn a basher to typecheck the changes and another basher to run tests, all in parallel ]'
@@ -225,7 +225,7 @@ ${isDefault
225225
${isDefault
226226
? `[ You fix the issues found by the code-reviewer and type/test errors ]`
227227
: isFree
228-
? `[ You fix the issues found by the code-reviewer-lite and type/test errors ]`
228+
? `[ You fix the issues found by the code-reviewer-gpt and type/test errors ]`
229229
: isMax
230230
? `[ You fix the issues found by the code-reviewer-multi-prompt and type/test errors ]`
231231
: '[ You fix the issues found by the type/test errors and spawn more bashers to confirm ]'
@@ -349,7 +349,7 @@ ${buildArray(
349349
(isDefault || isMax) &&
350350
`- Spawn a ${isDefault ? 'code-reviewer' : 'code-reviewer-multi-prompt'} to review the changes after you have implemented changes. (Skip this step only if the change is extremely straightforward and obvious.)`,
351351
isFree &&
352-
`- Spawn a code-reviewer-lite to review the changes after you have implemented changes. (Skip this step only if the change is extremely straightforward and obvious.)`,
352+
`- Spawn a code-reviewer-gpt to review the changes after you have implemented changes. (Skip this step only if the change is extremely straightforward and obvious.)`,
353353
`- 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." : ''}`,
354354
!isFast &&
355355
!noAskUser &&
@@ -385,7 +385,7 @@ function buildImplementationStepPrompt({
385385
(isDefault || isMax) &&
386386
`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.`,
387387
isFree &&
388-
`You must spawn a code-reviewer-lite to review the changes after you have implemented the changes and in parallel with typechecking or testing.`,
388+
`You must spawn a code-reviewer-gpt to review the changes after you have implemented the changes and in parallel with typechecking or testing.`,
389389
`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." : ''}.`,
390390
!isFast &&
391391
!noAskUser &&

agents/reviewer/code-reviewer-gpt.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import { createReviewer } from './code-reviewer'
55
const definition: SecretAgentDefinition = {
66
id: 'code-reviewer-gpt',
77
publisher,
8+
inheritParentSystemPrompt: false,
89
...createReviewer('openai/gpt-5.4'),
910
}
1011

0 commit comments

Comments
 (0)