Skip to content

Commit c4e86df

Browse files
committed
Update status_set description to prevent premature commitment
1 parent f75befa commit c4e86df

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

src/utils/tools/toolDefinitions.ts

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -183,12 +183,17 @@ export const TOOL_DEFINITIONS = {
183183
},
184184
status_set: {
185185
description:
186-
"Set a status indicator to show what the agent is currently doing. " +
187-
"The emoji appears left of the streaming indicator, and the message shows on hover. " +
188-
"The status is set IMMEDIATELY when this tool is called, even before other tool calls complete. " +
189-
"IMPORTANT: Always set a status at the start of each response and update it as your work progresses. " +
190-
"The status is cleared when a new user message comes in, so you must set it again for each response. " +
191-
"Use this to communicate ongoing activities and set a final status before completing that reflects the outcome.",
186+
"Set a status indicator to show what Assistant is currently doing. The status is set IMMEDIATELY \n" +
187+
"when this tool is called, even before other tool calls complete.\n" +
188+
"\n" +
189+
"WHEN TO SET STATUS:\n" +
190+
"- Set status when beginning concrete work (file edits, running tests, executing commands)\n" +
191+
"- Update status as work progresses through distinct phases\n" +
192+
"- Set a final status before completing that reflects the outcome\n" +
193+
"- DO NOT set status during initial exploration, file reading, or planning phases\n" +
194+
"\n" +
195+
"The status is cleared when a new user message comes in. Validate your approach is feasible \n" +
196+
"before setting status - failed tool calls after setting status indicate premature commitment.",
192197
schema: z
193198
.object({
194199
emoji: z.string().describe("A single emoji character representing the current activity"),

0 commit comments

Comments
 (0)