checkpoint: update note in MemorySaver (#1862)

This commit is contained in:
Vadym Barda
2024-09-26 15:07:36 +00:00
committed by GitHub
parent c5b9845216
commit 72c5bc35cd
@@ -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.