Skip to content

Commit ceb37a2

Browse files
committed
Allow suggest followups tool in lite mode
1 parent a968994 commit ceb37a2

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.agents/base2/base2.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export function createBase2(
5151
'read_files',
5252
'read_subtree',
5353
!isFast && !isLite && 'write_todos',
54-
!isLite && 'suggest_followups',
54+
!isFast && 'suggest_followups',
5555
'str_replace',
5656
'write_file',
5757
'ask_user',
@@ -240,6 +240,7 @@ ${PLACEHOLDER.GIT_CHANGES_PROMPT}
240240
isMax,
241241
hasNoValidation,
242242
isSonnet,
243+
isLite,
243244
}),
244245

245246
handleSteps: function* ({ params }) {
@@ -309,7 +310,7 @@ ${buildArray(
309310
!hasNoValidation &&
310311
`- Test your changes 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!`,
311312
`- 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." : ''}`,
312-
!isLite &&
313+
!isFast &&
313314
`- After successfully completing an implementation, use the suggest_followups tool to suggest ~3 next steps the user might want to take (e.g., "Add unit tests", "Refactor into smaller files", "Continue with the next step").`,
314315
).join('\n')}`
315316
}
@@ -320,12 +321,14 @@ function buildImplementationStepPrompt({
320321
isMax,
321322
hasNoValidation,
322323
isSonnet,
324+
isLite,
323325
}: {
324326
isDefault: boolean
325327
isFast: boolean
326328
isMax: boolean
327329
hasNoValidation: boolean
328330
isSonnet: boolean
331+
isLite: boolean
329332
}) {
330333
return buildArray(
331334
isMax &&

0 commit comments

Comments
 (0)