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
use set for public routes
Ishaan Jaffb71021f1bf49
diff --git a/litellm/proxy/_types.py b/litellm/proxy/_types.pyindex b188e981f7e..eea6c974939 100644--- a/litellm/proxy/_types.py+++ b/litellm/proxy/_types.py@@ -312,16 +312,18 @@ class LiteLLMRoutes(enum.Enum):"/global/spend/provider",]- public_routes = [- "/routes",- "/",- "/health/liveliness",- "/health/liveness",- "/health/readiness",- "/test",- "/config/yaml",- "/metrics",- ]+ public_routes = set(+ [+ "/routes",+ "/",+ "/health/liveliness",+ "/health/liveness",+ "/health/readiness",+ "/test",+ "/config/yaml",+ "/metrics",+ ]+ )ui_routes = ["/sso",