Skip to content

Commit 5430647

Browse files
bsboddenCopilot
andauthored
Update langgraph/checkpoint/redis/__init__.py
Co-authored-by: Copilot <[email protected]>
1 parent d3ef9da commit 5430647

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

langgraph/checkpoint/redis/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ def get_tuple(self, config: RunnableConfig) -> Optional[CheckpointTuple]:
360360
Tag("thread_id") == to_storage_safe_id(doc_thread_id)
361361
)
362362
& (Tag("checkpoint_ns") == to_storage_safe_str(doc_checkpoint_ns)),
363-
return_fields=["key"], # Assuming the key field exists in the index
363+
return_fields=["key", "channel", "version"], # Ensure channel and version are available
364364
num_results=1000,
365365
)
366366
blob_results = self.checkpoint_blobs_index.search(blob_query)

0 commit comments

Comments
 (0)