Skip to content

Commit b378e00

Browse files
committed
feat: update TodoWrite tool guidelines and add handling for simple user requests
1 parent 01ce5f6 commit b378e00

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/routes/messages/responses-translation.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -293,9 +293,10 @@ When using the BashOutput tool, follow these rules:
293293
- Only Bash Tool run_in_background set to true, Use BashOutput to read the output later
294294
### TodoWrite tool
295295
When using the TodoWrite tool, follow these rules:
296-
- Skip using the TodoWrite tool for simple or straightforward tasks (roughly the easiest 25%).
297-
- Do not make single-step todo lists.
298-
- When you made a todo, update it after having performed one of the sub-tasks that you shared on the todo list.`
296+
- Skip using the TodoWrite tool for tasks with two or fewer steps.
297+
- When you made a todo, update it after having performed one of the sub-tasks that you shared on the todo list.
298+
## Special user requests
299+
- If the user makes a simple request (such as asking for the time) which you can fulfill by running a terminal command (such as ''date''), you should do so.`
299300

300301
if (typeof system === "string") {
301302
return system + toolUsePrompt

0 commit comments

Comments
 (0)