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
fix: AsyncRedisSaver aget_tuple returning None for checkpoint_id (#65)
Fixes issue where AsyncRedisSaver.aget_tuple() returned None for checkpoint_id
when no checkpoint_id was specified in the config, while RedisSaver.get_tuple()
correctly returned the retrieved checkpoint ID.
The bug was caused by using the original checkpoint_id parameter (which may be None)
instead of doc_checkpoint_id (the actual ID retrieved from Redis document).
Fixed two locations in aget_tuple method:
- Config construction: Use doc_checkpoint_id instead of checkpoint_id
- _aload_pending_writes call: Use doc_checkpoint_id to match sync behavior
Added comprehensive test coverage to verify the fix and prevent regression.
Resolves#64
Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Co-authored-by: Tyler Hutcherson <[email protected]>
0 commit comments