docs: fix typo in persistence (#5329)

* docs: fix typo in application_structure

* docs: fix typo in persistence
This commit is contained in:
Youssef Ahmed Mohamed Abdelrahman
2025-07-07 23:22:53 +00:00
committed by GitHub
parent 4321ed0f87
commit 4c73b176ff
+2 -2
View File
@@ -5,7 +5,7 @@ search:
# Persistence
LangGraph has a built-in persistence layer, implemented through checkpointers. When you compile graph with a checkpointer, the checkpointer saves a `checkpoint` of the graph state at every super-step. Those checkpoints are saved to a `thread`, which can be accessed after graph execution. Because `threads` allow access to graph's state after execution, several powerful capabilities including human-in-the-loop, memory, time travel, and fault-tolerance are all possible. Below, we'll discuss each of these concepts in more detail.
LangGraph has a built-in persistence layer, implemented through checkpointers. When you compile a graph with a checkpointer, the checkpointer saves a `checkpoint` of the graph state at every super-step. Those checkpoints are saved to a `thread`, which can be accessed after graph execution. Because `threads` allow access to graph's state after execution, several powerful capabilities including human-in-the-loop, memory, time travel, and fault-tolerance are all possible. Below, we'll discuss each of these concepts in more detail.
![Checkpoints](img/persistence/checkpoints.jpg)
@@ -78,7 +78,7 @@ After we run the graph, we expect to see exactly 4 checkpoints:
* checkpoint with the outputs of `node_a` `{'foo': 'a', 'bar': ['a']}` and `node_b` as the next node to be executed
* checkpoint with the outputs of `node_b` `{'foo': 'b', 'bar': ['a', 'b']}` and no next nodes to be executed
Note that we `bar` channel values contain outputs from both nodes as we have a reducer for `bar` channel.
Note that the `bar` channel values contain outputs from both nodes as we have a reducer for `bar` channel.
### Get state