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
@@ -131,7 +120,7 @@ Use the spawn_agents tool to spawn specialized agents to help you complete the u
131
120
'- Spawn context-gathering agents (file pickers, code-searcher, directory-lister, glob-matcher, and web/docs researchers) before making edits.',
132
121
isMax&&
133
122
'- Spawn the thinker-best-of-n-gpt-5 after gathering context to solve complex problems.',
134
-
`- Spawn a ${useGeminiEditor ? 'editor-implementor-gemini' : isMax ? 'editor-best-of-n-gpt-5' : 'editor-best-of-n'} 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.`,
123
+
`- Spawn a ${isMax ? 'editor-best-of-n-max' : 'editor-best-of-n'} 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.`,
135
124
'- Spawn commanders sequentially if the second command depends on the the first.',
136
125
!isFast&&
137
126
`- Spawn a ${isDefault ? 'code-reviewer' : 'code-reviewer-best-of-n-gpt-5'} to review the changes after you have implemented the changes.`,
@@ -350,14 +337,12 @@ function buildImplementationInstructionsPrompt({
350
337
isDefault,
351
338
isMax,
352
339
hasNoValidation,
353
-
useGeminiEditor,
354
340
}: {
355
341
isSonnet: boolean
356
342
isFast: boolean
357
343
isDefault: boolean
358
344
isMax: boolean
359
345
hasNoValidation: boolean
360
-
useGeminiEditor: boolean
361
346
}){
362
347
return`Act as a helpful assistant and freely respond to the user's request however would be most helpful to the user. Use your judgement to orchestrate the completion of the user's request using your specialized sub-agents and tools as needed. Take your time and be comprehensive. Don't surprise the user. For example, don't modify files if the user has not asked you to do so at least implicitly.
363
348
@@ -376,7 +361,7 @@ ${buildArray(
376
361
isFast&&
377
362
'- Do a single typecheck targeted for your changes at most (if applicable for the project). Or skip this step if the change was small.',
378
363
!isFast&&
379
-
`- IMPORTANT: You must spawn the ${useGeminiEditor ? 'editor-implementor-gemini' : isMax ? 'editor-best-of-n-gpt-5' : 'editor-best-of-n'} agent to implement non-trivial code changes, since it will generate the best code changes from multiple implementation proposals. This is the best way to make high quality code changes -- strongly prefer using this agent over the str_replace or write_file tools, unless the change is very straightforward and obvious.`,
364
+
`- IMPORTANT: You must spawn the ${isMax ? 'editor-best-of-n-max' : 'editor-best-of-n'} agent to implement non-trivial code changes, since it will generate the best code changes from multiple implementation proposals. This is the best way to make high quality code changes -- strongly prefer using this agent over the str_replace or write_file tools, unless the change is very straightforward and obvious.`,
380
365
!isFast&&
381
366
`- Spawn a ${isDefault ? 'code-reviewer' : 'code-reviewer-best-of-n-gpt-5'} to review the changes after you have implemented the changes. (Skip this step only if the change is extremely straightforward and obvious.)`,
382
367
!hasNoValidation&&
@@ -390,19 +375,17 @@ function buildImplementationStepPrompt({
390
375
isMax,
391
376
hasNoValidation,
392
377
isSonnet,
393
-
useGeminiEditor,
394
378
}: {
395
379
isFast: boolean
396
380
isMax: boolean
397
381
hasNoValidation: boolean
398
382
isSonnet: boolean
399
-
useGeminiEditor: boolean
400
383
}){
401
384
returnbuildArray(
402
385
isMax&&
403
386
`Keep working until the user's request is completely satisfied${!hasNoValidation ? ' and validated' : ''}, or until you require more information from the user.`,
404
387
!isFast&&
405
-
`You must spawn the ${useGeminiEditor ? 'editor-implementor-gemini' : isMax ? 'editor-best-of-n-gpt-5' : 'editor-best-of-n'} agent to implement code changes, since it will generate the best code changes.`,
388
+
`You must spawn the ${isMax ? 'editor-best-of-n-max' : 'editor-best-of-n'} agent to implement code changes, since it will generate the best code changes.`,
406
389
isMax&&'Spawn the thinker-best-of-n-gpt-5 to solve complex problems.',
407
390
`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." : ''}.`,
0 commit comments