mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-10-16 13:15:32 +02:00
A tool that runs a graph calling `interrupt(response_schema=...)` let a bad resume value's `ValidationError` out of its body, and `ToolNode` reported it to the model as invalid tool arguments: the run carried on and the interrupt was lost. `interrupt()` now marks that error and `ToolNode` re-raises marked errors, so the run fails without committing and the interrupt can be answered again.