You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using the CheckpointSaver with MongoDB for persistence and would like to set up a TTL index to automatically expire old checkpoints. However, I noticed that the current MongoDB documents don't include a Date-type field that can be used for TTL purposes. It would be great to have a timestamp (e.g., createdAt) added to the saved checkpoints to support this use case.
at this point schema looks like this: { "_id": { "$oid": "" }, "checkpoint_id": "", "checkpoint_ns": "", "thread_id": "", "checkpoint": { "$binary": { "base64": "", "subType": "00" } }, "metadata": { "$binary": { "base64": "", "subType": "00" } }, "parent_checkpoint_id": "", "type": "json" }
None of these are Date type