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(pass_through_endpoints.py): fix typo
Krrish Dholakia23870cbda035
diff --git a/litellm/proxy/pass_through_endpoints/pass_through_endpoints.py b/litellm/proxy/pass_through_endpoints/pass_through_endpoints.pyindex 18bab49eb4b..e00c4727ebb 100644--- a/litellm/proxy/pass_through_endpoints/pass_through_endpoints.py+++ b/litellm/proxy/pass_through_endpoints/pass_through_endpoints.py@@ -980,7 +980,7 @@ def create_pass_through_route(InitPassThroughEndpointHelpers,)- if not not InitPassThroughEndpointHelpers.is_registered_pass_through_route(+ if not InitPassThroughEndpointHelpers.is_registered_pass_through_route(route=endpoint):raise HTTPException(@@ -1760,7 +1760,6 @@ class InitPassThroughEndpointHelpers:if len(parts) == 3:route_type = parts[1]registered_path = parts[2]-if route_type == "exact" and route == registered_path:return Trueelif route_type == "subpath":@@ -1827,6 +1826,7 @@ async def initialize_pass_through_endpoints(## get combined pass-through endpoints from db + configcombined_pass_through_endpoints: List[Union[Dict, PassThroughGenericEndpoint]]+if config_passthrough_endpoints is not None:combined_pass_through_endpoints = _get_combined_pass_through_endpoints( # type: ignorepass_through_endpoints, config_passthrough_endpoints