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(lint): remove unused imports in semantic_guard and policy_endpoints
Julio Quinteros Prodba60cac2230
diff --git a/litellm/proxy/guardrails/guardrail_hooks/semantic_guard/semantic_guard.py b/litellm/proxy/guardrails/guardrail_hooks/semantic_guard/semantic_guard.pyindex 04e8c2d5642..465c4a86c2f 100644--- a/litellm/proxy/guardrails/guardrail_hooks/semantic_guard/semantic_guard.py+++ b/litellm/proxy/guardrails/guardrail_hooks/semantic_guard/semantic_guard.py@@ -26,7 +26,6 @@ except ImportError:if TYPE_CHECKING:from semantic_router.routers import SemanticRouter- from semantic_router.schema import RouteChoicefrom litellm.caching import DualCachefrom litellm.proxy.auth.user_api_key_auth import UserAPIKeyAuthdiff --git a/litellm/proxy/management_endpoints/policy_endpoints/__init__.py b/litellm/proxy/management_endpoints/policy_endpoints/__init__.pyindex 8486a5660ac..7f28c7b3b27 100644--- a/litellm/proxy/management_endpoints/policy_endpoints/__init__.py+++ b/litellm/proxy/management_endpoints/policy_endpoints/__init__.py@@ -8,6 +8,3 @@ are imported directly into this namespace."""from litellm.proxy.management_endpoints.policy_endpoints.endpoints import * # noqa: F401, F403-from litellm.proxy.management_endpoints.policy_endpoints.endpoints import (- router,-)