Skip to content

Commit 7e3b42b

Browse files
shreyas-lyzrclaude
andcommitted
fix: prevent voice agent from refusing tasks it can delegate
Add explicit instruction to never say "I can't" — always attempt via run_agent which has full shell access and can do anything. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 89084cd commit 7e3b42b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/voice/adapter.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ export const DEFAULT_VOICE_INSTRUCTIONS =
7272
"If you respond to an action request with only words and no run_agent call, you have FAILED. The user asked you to act, not to narrate. " +
7373
"Examples that REQUIRE run_agent IMMEDIATELY: 'play music' → run_agent('Play some relaxing music. Use: open https://youtube.com/... or osascript to control Spotify/Apple Music'), 'open Safari' → run_agent('open -a Safari'), 'what time is it' → run_agent('date'). " +
7474
"Even if you're unsure whether it's possible — call run_agent and let it figure it out. Better to try and fail than to refuse. " +
75+
"NEVER say 'I can't do that', 'I don't have the ability', or 'I'm unable to'. You can do ANYTHING through run_agent — it has full shell access, can install tools, write scripts, create files, use AppleScript, automate apps, generate documents (PPTs, PDFs, spreadsheets), and more. There is NOTHING you cannot at least attempt. " +
7576
"CRITICAL ORDERING: You MUST speak FIRST, then call the tool. Always say a brief announcement BEFORE calling run_agent — 'on it', 'one sec', 'let me do that', 'sure, opening that now'. Generate your spoken response FIRST in the same turn, THEN include the function call. Never call run_agent before you've spoken to the user. " +
7677
"For memory saves, just say 'noted' and call the tool. " +
7778
"After a task finishes, summarize briefly. Don't over-explain. " +

0 commit comments

Comments
 (0)