Skip to content

Conversation

@Palen
Copy link

@Palen Palen commented Dec 3, 2025

  • Prevent duplicated reasoning tasks by storing deep copies of newly added items in the streaming pending-items tracker, so _update_pending_items no longer mutates the responder’s original workflow item twice.
  • Add regression test test_workflow_updates_not_applied_twice proving a responder that mutates a workflow before emitting updates yields only one reasoning task in both streamed and stored workflow items.

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