[email protected]
langchain
Release Notes
Patch Changes
#11087
534b43aThanks @christian-bromann! - fix(langchain): keep tool call streams pending across any tool interruptA raw
interrupt()raised from inside a tool surfaced as atool-errorand rejected the call's un-awaitedoutputpromise, producing an unhandled rejection that crashed HITL runs. The tool-call stream transformer now treats any serialized graph interrupt as control flow (the call stays pending and resumes), not justhumanInTheLoopMiddlewareinterrupts.