File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
libs/redis/langchain_redis Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ class RedisCache(BaseCache):
122122 redis_url (str): The URL of the Redis instance to connect to.
123123 ttl (Optional[int]): Time-to-live for cache entries in seconds.
124124 prefix (Optional[str]): Prefix for all keys stored in Redis.
125- redis (Optional[Redis]): An existing Redis client instance.
125+ redis_client (Optional[Redis]): An existing Redis client instance.
126126
127127 If provided, `redis_url` is ignored.
128128
@@ -350,7 +350,7 @@ class RedisSemanticCache(BaseCache):
350350 prefix (Optional[str]): Prefix for all keys stored in Redis.
351351
352352 Defaults to `'llmcache'`.
353- redis (Optional[Redis]): An existing Redis client instance.
353+ redis_client (Optional[Redis]): An existing Redis client instance.
354354
355355 If provided, `redis_url` is ignored.
356356
You can’t perform that action at this time.
0 commit comments