Symptom
After upgrading to the 0.5 line, calling interrupt() inside a tool no longer pauses for input; the run just exits with no error.
Evidence what you'll see
- Worked on the earlier prebuilt 0.2.2 release and broke after the upgrade
- No error message; the stream simply ends
- Happens when streaming with stream_mode="values"
Cause
A change in the 0.5 line stopped interrupts from being surfaced when streaming with stream_mode="values", so the caller never saw the pause.
Fix steps
0 of 2 done
Your check marks stay in this browser only.
Verify the fix worked
- Stream a graph whose tool calls interrupt() with stream_mode="values" and confirm the interrupt appears in the stream and the run waits to be resumed.
Sources and credit
Summarized in our own words from these public reports. Credit goes to their authors.
Provided as is, without warranty. Try changes in a non-production environment and back up first. Security-related steps: verify against the official docs. Terms · Request removal or attribution change
Hit an error we don't cover? Submit it