Skip to content

fix: strengthen pronoun resolution to prevent unnecessary clarification#60

Merged
agarg5 merged 1 commit intomainfrom
fix/stronger-pronoun-resolution
Feb 27, 2026
Merged

fix: strengthen pronoun resolution to prevent unnecessary clarification#60
agarg5 merged 1 commit intomainfrom
fix/stronger-pronoun-resolution

Conversation

@agarg5
Copy link
Owner

@agarg5 agarg5 commented Feb 27, 2026

Summary

  • Agent was still asking "which politician?" when user said "her" after viewing Pelosi's trades
  • Made the conversational context instruction more forceful with CRITICAL label
  • Explicitly says NEVER ask for clarification when the answer is in conversation history
  • Added concrete examples of pronoun resolution

Test plan

  • Select Pelosi → view trades → ask "how do her trades compare to mine?" → should NOT ask for clarification

🤖 Generated with Claude Code

Agent was still asking "which politician?" when "her" clearly referred
to the person from the prior turn. Made the instruction more forceful:
NEVER ask for clarification when the answer is in conversation history.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@agarg5 agarg5 merged commit bcadb2f into main Feb 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant