Skip to content

Commit e6f5d09

Browse files
committed
tweak end_turn prompt examples
1 parent 3fe6485 commit e6f5d09

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

backend/src/tools/definitions/tool/end-turn.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,15 @@ Only use this tool to hand control back to the user.
1313
- Before calling: finish all pending steps, resolve tool results, and include any outputs the user needs to review.
1414
- Effect: Signals the UI to wait for the user's reply; any pending tool results will be ignored.
1515
16-
Correct usage:
16+
*INCORRECT USAGE*:
17+
${getToolCallString('some_tool_that_produces_results', { query: 'some example search term' }, false)}
18+
1719
${getToolCallString(toolName, {})}
20+
21+
*CORRECT USAGE*:
22+
All done! Would you like some more help with xyz?
23+
24+
${getToolCallString(toolName, {})}
25+
1826
`.trim(),
1927
} satisfies ToolDescription

0 commit comments

Comments
 (0)