- Notifications
You must be signed in to change notification settings - Fork 23
Closed
Description
Hi, I’m only using thread_id
to create checkpoints. When I call the delete_thread
method, I noticed that the zset keys aren’t being deleted. I think the issue might be that it doesn’t check for empty values when creating them.
def make_write_keys_zset_key( thread_id: str, checkpoint_ns: str, checkpoint_id: str ) -> str: """Create the key for the write keys sorted set for a specific checkpoint.""" return REDIS_KEY_SEPARATOR.join( [WRITE_KEYS_ZSET_PREFIX, thread_id, checkpoint_ns, checkpoint_id] )
Additionally, I tried passing checkpoint_ns
, but it always ends up as __empty__
.
I’m using langgraph==0.6.8, and here’s the snippet I’m using:
config = RunnableConfig( configurable={"thread_id": thread_id, "checkpoint_ns": checkpoint_ns}, ) graph.invoke(state, config=config)
Thanks for your help.
bsbodden
Metadata
Metadata
Assignees
Labels
No labels