Skip to content

Conversation

@Tarquinen
Copy link
Collaborator

Summary

  • Fix Anthropic API compatibility by removing synthetic: true field from nudge messages
  • Improve nudge detection logic to trigger on every fetch once tool count exceeds threshold
  • Clean up unused code that checked for non-existent fields

Changes

  • Remove synthetic field from nudge messages across all fetch wrappers (Gemini, OpenAI Chat, OpenAI Responses)
  • Add nudge detection to skip nudge messages when injecting synthetic instructions
  • Simplify nudge triggering logic (every fetch vs bucket-based)
  • Remove unused isIgnoredUserMessage() function

…bility

- Remove synthetic: true from nudge messages (fixes Anthropic API error)
- Remove unused isIgnoredUserMessage() that checked for non-existent fields
- Add nudge detection to skip nudge messages when injecting synthetic instructions
- Change nudge logic to trigger every fetch once tools exceed threshold (vs bucket-based)
@Tarquinen Tarquinen merged commit 065b51a into master Dec 1, 2025
1 check passed
@Tarquinen Tarquinen deleted the fix/anthropic-nudge-compatibility branch December 1, 2025 00:30
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.

2 participants