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 code
Sameer Kankute507b0973b4ec
diff --git a/litellm/proxy/common_request_processing.py b/litellm/proxy/common_request_processing.pyindex db9b8950318..4a08b05e863 100644--- a/litellm/proxy/common_request_processing.py+++ b/litellm/proxy/common_request_processing.py@@ -735,7 +735,6 @@ class ProxyBaseLLMRequestProcessing:"""Anthropic /messages and Google /generateContent streaming data generator require SSE events"""- from litellm.types.utils import ModelResponse, ModelResponseStream, Usageverbose_proxy_logger.debug("inside generator")try:diff --git a/litellm/proxy/hooks/parallel_request_limiter_v3.py b/litellm/proxy/hooks/parallel_request_limiter_v3.pyindex 0a49d7f6759..9f9b49dcb68 100644--- a/litellm/proxy/hooks/parallel_request_limiter_v3.py+++ b/litellm/proxy/hooks/parallel_request_limiter_v3.py@@ -25,6 +25,7 @@ from litellm._logging import verbose_proxy_loggerfrom litellm.integrations.custom_logger import CustomLoggerfrom litellm.proxy._types import UserAPIKeyAuthfrom litellm.types.llms.openai import BaseLiteLLMOpenAIResponseObject+from fastapi import HTTPExceptionif TYPE_CHECKING:from opentelemetry.trace import Span as _Span