releases.shpreview

Tool call streams stay pending across any interrupt

langchain@1.5.1

1 fixThis release1 fixBug fixesAI-tallied from the release notes

Patch Changes

  • #11087 534b43a Thanks @christian-bromann! - fix(langchain): keep tool call streams pending across any tool interrupt

    A raw interrupt() raised from inside a tool surfaced as a tool-error and rejected the call's un-awaited output promise, 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 just humanInTheLoopMiddleware interrupts.

Fetched June 22, 2026