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
Update litellm/proxy/policy_engine/policy_resolve_endpoints.py
jquinterca9cdea8a7be
diff --git a/litellm/proxy/policy_engine/policy_resolve_endpoints.py b/litellm/proxy/policy_engine/policy_resolve_endpoints.pyindex 428ab2b63b2..27ee896c719 100644--- a/litellm/proxy/policy_engine/policy_resolve_endpoints.py+++ b/litellm/proxy/policy_engine/policy_resolve_endpoints.py@@ -12,9 +12,7 @@ from typing import TYPE_CHECKINGtry:from fastapi import APIRouter, Depends, HTTPException, Queryexcept ImportError:- # Provide stubs for type checking only- if TYPE_CHECKING:- from fastapi import APIRouter, Depends, HTTPException, Query+ # Provide stubs for environments without FastAPIelse:# Create mock classes that won't be usedclass APIRouter: # type: ignore[no-redef]