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]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
fix(proxy/_types.py): fix default to be none
Krrish Dholakia2266b272aab6
diff --git a/litellm/proxy/_types.py b/litellm/proxy/_types.pyindex 4a53e2bbb4f..41b36d46c75 100644--- a/litellm/proxy/_types.py+++ b/litellm/proxy/_types.py@@ -776,7 +776,7 @@ class KeyRequestBase(GenerateRequestBase):tags: Optional[List[str]] = Noneenforced_params: Optional[List[str]] = Noneallowed_routes: Optional[list] = []- allowed_passthrough_routes: Optional[list] = []+ allowed_passthrough_routes: Optional[list] = Nonerpm_limit_type: Optional[Literal["guaranteed_throughput", "best_effort_throughput"]] = None # raise an error if 'guaranteed_throughput' is set and we're overallocating rpm