Skip to content

Commit

Permalink
checkpoint: update note in MemorySaver (#1862)
Browse files Browse the repository at this point in the history
  • Loading branch information
vbarda authored Sep 26, 2024
1 parent c5b9845 commit 72c5bc3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/checkpoint/langgraph/checkpoint/memory/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ class MemorySaver(
This checkpoint saver stores checkpoints in memory using a defaultdict.
Note:
Since checkpoints are saved in memory, they will be lost when the program exits.
Only use this saver for debugging or testing purposes.
Only use `MemorySaver` for debugging or testing purposes.
For production use cases we recommend installing [langgraph-checkpoint-postgres](https://pypi.org/project/langgraph-checkpoint-postgres/) and using `PostgresSaver` / `AsyncPostgresSaver`.
Args:
serde (Optional[SerializerProtocol]): The serializer to use for serializing and deserializing checkpoints. Defaults to None.
Expand Down

0 comments on commit 72c5bc3

Please sign in to comment.