Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

allow setting password for redis cluster

Ishaan Jaff9a9c0e42eb67
diff --git a/litellm/_redis.py b/litellm/_redis.py
index 8d0fa4e18f4..faa98e648f0 100644
--- a/litellm/_redis.py
+++ b/litellm/_redis.py
@@ -67,6 +67,7 @@ def _get_redis_cluster_kwargs(client=None):
exclude_args = {"self", "connection_pool", "retry", "host", "port", "startup_nodes"}
available_args = [x for x in arg_spec.args if x not in exclude_args]
+ available_args.append("password")
return available_args