Skip to content

chore: simplify invoke interrupt collection#6965

Open
Sydney Runkle (sydney-runkle) wants to merge 4 commits intomainfrom
sr/simplify-invoke-interrupts
Open

chore: simplify invoke interrupt collection#6965
Sydney Runkle (sydney-runkle) wants to merge 4 commits intomainfrom
sr/simplify-invoke-interrupts

Conversation

@sydney-runkle
Copy link
Collaborator

@sydney-runkle Sydney Runkle (sydney-runkle) commented Feb 27, 2026

The pregel loop already merges __interrupt__ into the values dict in output_writes(), so invoke/ainvoke don't need to subscribe to both "updates" and "values" stream modes.

Simplify to just use stream_mode="values" and read interrupts directly from the values payload.

The loop already merges __interrupt__ into the values dict in
output_writes(), so invoke/ainvoke don't need to subscribe to
both "updates" and "values" stream modes. Simplify to just use
stream_mode="values" and read interrupts directly from the
values payload.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant