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
File "/home/www/.local/lib/python3.12/site-packages/langgraph/pregel/__init__.py", line 2788, in ainvoke
async for chunk in self.astream(
File "/home/www/.local/lib/python3.12/site-packages/langgraph/pregel/__init__.py", line 2596, in astream
async with AsyncPregelLoop(
^^^^^^^^^^^^^^^^
File "/home/www/.local/lib/python3.12/site-packages/langgraph/pregel/loop.py", line 1393, in __aexit__
return await exit_task
^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/contextlib.py", line 754, in __aexit__
raise exc_details[1]
File "/usr/local/lib/python3.12/contextlib.py", line 737, in __aexit__
cb_suppress = await cb(*exc_details)
^^^^^^^^^^^^^^^^^^^^^^
File "/home/www/.local/lib/python3.12/site-packages/langgraph/pregel/executor.py", line 209, in __aexit__
raise exc
File "/home/www/.local/lib/python3.12/site-packages/langgraph/pregel/loop.py", line 1260, in _checkpointer_put_after_previous
await prev
File "/home/www/.local/lib/python3.12/site-packages/langgraph/pregel/loop.py", line 1262, in _checkpointer_put_after_previous
await cast(BaseCheckpointSaver, self.checkpointer).aput(
File "/home/www/.local/lib/python3.12/site-packages/langgraph/checkpoint/redis/aio.py", line 585, in aput
raise e
File "/home/www/.local/lib/python3.12/site-packages/langgraph/checkpoint/redis/aio.py", line 505, in aput
await pipeline.json().set(checkpoint_key, "$", checkpoint_data)
^^^^^^^^^^^^^^^
File "/home/www/.local/lib/python3.12/site-packages/redis/commands/redismodules.py", line 24, in json
jj = JSON(client=self, encoder=encoder, decoder=decoder)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/www/.local/lib/python3.12/site-packages/redis/commands/json/__init__.py", line 71, in __init__
if get_protocol_version(self.client) in ["3", 3]:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/www/.local/lib/python3.12/site-packages/redis/commands/helpers.py", line 118, in get_protocol_version
return client.nodes_manager.connection_kwargs.get("protocol")
^^^^^^^^^^^^^^^^^^^^
AttributeError: 'ClusterPipeline' object has no attribute 'nodes_manager'
Uh oh!
There was an error while loading. Please reload this page.
Simple reproduction steps:
Dependency versions from
pip freeze
:Using Redis Stack 8.0.0 in cluster configuration.
Setup the
AsyncRedisSaver
using aRedisCluster
object directly:Throws the following exception:
From line https://github.com/redis-developer/langgraph-redis/blob/main/langgraph/checkpoint/redis/aio.py#L505
The text was updated successfully, but these errors were encountered: