diff --git a/langgraph/checkpoint/redis/ashallow.py b/langgraph/checkpoint/redis/ashallow.py index 377f43c..86606dd 100644 --- a/langgraph/checkpoint/redis/ashallow.py +++ b/langgraph/checkpoint/redis/ashallow.py @@ -38,7 +38,8 @@ { "index": { "name": "checkpoints", - "prefix": CHECKPOINT_PREFIX + REDIS_KEY_SEPARATOR, + "prefix": CHECKPOINT_PREFIX, + "key_separator": REDIS_KEY_SEPARATOR, "storage_type": "json", }, "fields": [ @@ -51,7 +52,8 @@ { "index": { "name": "checkpoints_blobs", - "prefix": CHECKPOINT_BLOB_PREFIX + REDIS_KEY_SEPARATOR, + "prefix": CHECKPOINT_BLOB_PREFIX, + "key_separator": REDIS_KEY_SEPARATOR, "storage_type": "json", }, "fields": [ @@ -64,7 +66,8 @@ { "index": { "name": "checkpoint_writes", - "prefix": CHECKPOINT_WRITE_PREFIX + REDIS_KEY_SEPARATOR, + "prefix": CHECKPOINT_WRITE_PREFIX, + "key_separator": REDIS_KEY_SEPARATOR, "storage_type": "json", }, "fields": [ diff --git a/langgraph/checkpoint/redis/base.py b/langgraph/checkpoint/redis/base.py index f00c5b3..df08f04 100644 --- a/langgraph/checkpoint/redis/base.py +++ b/langgraph/checkpoint/redis/base.py @@ -36,7 +36,8 @@ { "index": { "name": "checkpoints", - "prefix": CHECKPOINT_PREFIX + REDIS_KEY_SEPARATOR, + "prefix": CHECKPOINT_PREFIX, + "key_separator": REDIS_KEY_SEPARATOR, "storage_type": "json", }, "fields": [ @@ -51,7 +52,8 @@ { "index": { "name": "checkpoints_blobs", - "prefix": CHECKPOINT_BLOB_PREFIX + REDIS_KEY_SEPARATOR, + "prefix": CHECKPOINT_BLOB_PREFIX, + "key_separator": REDIS_KEY_SEPARATOR, "storage_type": "json", }, "fields": [ @@ -65,7 +67,8 @@ { "index": { "name": "checkpoint_writes", - "prefix": CHECKPOINT_WRITE_PREFIX + REDIS_KEY_SEPARATOR, + "prefix": CHECKPOINT_WRITE_PREFIX, + "key_separator": REDIS_KEY_SEPARATOR, "storage_type": "json", }, "fields": [ diff --git a/langgraph/checkpoint/redis/shallow.py b/langgraph/checkpoint/redis/shallow.py index 7345462..fe480e2 100644 --- a/langgraph/checkpoint/redis/shallow.py +++ b/langgraph/checkpoint/redis/shallow.py @@ -31,7 +31,8 @@ { "index": { "name": "checkpoints", - "prefix": CHECKPOINT_PREFIX + REDIS_KEY_SEPARATOR, + "prefix": CHECKPOINT_PREFIX, + "key_separator": REDIS_KEY_SEPARATOR, "storage_type": "json", }, "fields": [ @@ -44,7 +45,8 @@ { "index": { "name": "checkpoints_blobs", - "prefix": CHECKPOINT_BLOB_PREFIX + REDIS_KEY_SEPARATOR, + "prefix": CHECKPOINT_BLOB_PREFIX, + "key_separator": REDIS_KEY_SEPARATOR, "storage_type": "json", }, "fields": [ @@ -57,7 +59,8 @@ { "index": { "name": "checkpoint_writes", - "prefix": CHECKPOINT_WRITE_PREFIX + REDIS_KEY_SEPARATOR, + "prefix": CHECKPOINT_WRITE_PREFIX, + "key_separator": REDIS_KEY_SEPARATOR, "storage_type": "json", }, "fields": [ diff --git a/langgraph/store/redis/base.py b/langgraph/store/redis/base.py index cfb8e8f..a3b6115 100644 --- a/langgraph/store/redis/base.py +++ b/langgraph/store/redis/base.py @@ -44,7 +44,8 @@ { "index": { "name": "store", - "prefix": STORE_PREFIX + REDIS_KEY_SEPARATOR, + "prefix": STORE_PREFIX, + "key_separator": REDIS_KEY_SEPARATOR, "storage_type": "json", }, "fields": [ @@ -57,7 +58,8 @@ { "index": { "name": "store_vectors", - "prefix": STORE_VECTOR_PREFIX + REDIS_KEY_SEPARATOR, + "prefix": STORE_VECTOR_PREFIX, + "key_separator": REDIS_KEY_SEPARATOR, "storage_type": "json", }, "fields": [