langgraph/concepts/time-travel/ #4261
Replies: 2 comments
-
Let’s say I’m using interrupt from langgraph.types inside some nodes of a subgraph. I have two subgraphs, both of which contain nodes that use interrupt, and I’ve combined them into a parent graph (each subgraph is compiled into a node in the parent graph). Now, suppose I want to "travel back in time" — meaning I want the user to be able to select a checkpoint to return to, and then resume execution from that point, potentially following a different path than the original one. How can I implement this kind of behavior, especially considering that the subgraphs are already compiled into the parent graph? |
Beta Was this translation helpful? Give feedback.
-
Tried to to use time travel from a point in a sub-graph, couldn't find a way. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
langgraph/concepts/time-travel/
Build language agents as graphs
https://langchain-ai.github.io/langgraph/concepts/time-travel/
Beta Was this translation helpful? Give feedback.
All reactions