Skip to content

Commit af30a70

Browse files
Alex Holmbergclaude
authored andcommitted
fix(prompt): reduce agent narration of internal reasoning
Added guidelines to not narrate actions like "I'll call X tool" or "The user wants Y so I'll Z". The agent should take action directly without announcing what it's about to do. Users care about results, not internal reasoning. Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 456a846 commit af30a70

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/agent/prompts/mod.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,9 @@ Just identify → explain → fix → proceed.
169169
/// Thinking guidelines - prevent "oops" and self-doubt patterns
170170
const THINKING_GUIDELINES: &str = r#"
171171
<thinking_guidelines>
172-
- Plan briefly (2-3 sentences), then execute
172+
- Do NOT narrate what you're about to do (e.g., "I'll call X tool" or "The user wants Y so I'll Z")
173+
- Just take action directly without announcing it
174+
- Plan internally, execute externally - users see results, not reasoning
173175
- Do NOT second-guess yourself with phrases like "oops", "I should have", or "I made a mistake"
174176
- If you made an error, fix it without self-deprecation - just fix it
175177
- Show confidence in your actions

0 commit comments

Comments
 (0)