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]

fix(proxy/_types.py): fix default to be none

Krrish Dholakia2266b272aab6
diff --git a/litellm/proxy/_types.py b/litellm/proxy/_types.py
index 4a53e2bbb4f..41b36d46c75 100644
--- a/litellm/proxy/_types.py
+++ b/litellm/proxy/_types.py
@@ -776,7 +776,7 @@ class KeyRequestBase(GenerateRequestBase):
tags: Optional[List[str]] = None
enforced_params: Optional[List[str]] = None
allowed_routes: Optional[list] = []
- allowed_passthrough_routes: Optional[list] = []
+ allowed_passthrough_routes: Optional[list] = None
rpm_limit_type: Optional[
Literal["guaranteed_throughput", "best_effort_throughput"]
] = None # raise an error if 'guaranteed_throughput' is set and we're overallocating rpm