mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-08-22 07:32:25 +02:00
fix(docs): Correct import statement for InMemorySaver in conceptual docs (#5797)
Fixes #5781 Fixes the incorrect import statement in the Python documentation tutorial. - Changed import from `MemorySaver` to `InMemorySaver` - Ensures consistency between import statement and class instantiation - Verified through formatting and linting checks The documentation now correctly reflects the proper import for the InMemorySaver class. --------- Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>
This commit is contained in:
co-authored by
open-swe[bot] <open-swe@users.noreply.github.com>
parent
220314b53a
commit
5152a96fce
@@ -17,7 +17,7 @@ Create a `MemorySaver` checkpointer:
|
||||
:::python
|
||||
|
||||
```python
|
||||
from langgraph.checkpoint.memory import MemorySaver
|
||||
from langgraph.checkpoint.memory import InMemorySaver
|
||||
|
||||
memory = InMemorySaver()
|
||||
```
|
||||
@@ -447,3 +447,4 @@ const graph = new StateGraph(State)
|
||||
## Next steps
|
||||
|
||||
In the next tutorial, you will [add human-in-the-loop to the chatbot](./4-human-in-the-loop.md) to handle situations where it may need guidance or verification before proceeding.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user