Skip to content

Weird interrupt related issue #3061

Closed Answered by hinthornw
CymDanus asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks for writing in. That sounds like interrupt is behaving as designed.

It raises a node interrupt exception, which LangGraph interprets as an instruction to pause the graph execution. The interrupt message is emitted in the stream output and stored in the persistence layer (for when you get the state of the graph). You then resume the graph with the response value.

See e.g., the doc:
https://langchain-ai.github.io/langgraph/concepts/human_in_the_loop/#how-does-resuming-from-an-interrupt-work

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by hinthornw
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants