Skip to content

Commit d2ec329

Browse files
committed
Tell gpt-5 to try to include a tool call per message
1 parent 48d5232 commit d2ec329

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.agents/base2/base2.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ function buildImplementationStepPrompt({
252252
`Keep working until the user's request is completely satisfied${!hasNoValidation ? ' and validated' : ''}, or until you require more information from the user.`,
253253
`After completing the user request, summarize your changes in a sentence 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.`,
254254
isGpt5 &&
255-
`IMPORTANT: if you are completely done with the user's request or require more information from the user, you must call the task_completed tool to end your turn.`,
255+
`IMPORTANT: You should include at least one tool call ("<codebuff_tool_call>") per message response. If you are completely done with the user's request or require more information from the user, you must call the task_completed tool to end your turn.`,
256256
).join('\n')
257257
}
258258

0 commit comments

Comments
 (0)