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 code quality qa
Sameer Kankutead87aa1926b5
diff --git a/litellm/llms/anthropic/batches/handler.py b/litellm/llms/anthropic/batches/handler.pyindex 31f3e91f144..fd303e60afc 100644--- a/litellm/llms/anthropic/batches/handler.py+++ b/litellm/llms/anthropic/batches/handler.py@@ -10,7 +10,6 @@ import httpxfrom litellm.llms.custom_httpx.http_handler import (get_async_httpx_client,)-from litellm.types.llms.openai import RetrieveBatchRequestfrom litellm.types.utils import LiteLLMBatch, LlmProvidersif TYPE_CHECKING:diff --git a/litellm/llms/anthropic/batches/transformation.py b/litellm/llms/anthropic/batches/transformation.pyindex ec82e6cdaeb..750dd002ff9 100644--- a/litellm/llms/anthropic/batches/transformation.py+++ b/litellm/llms/anthropic/batches/transformation.py@@ -21,7 +21,7 @@ else:class AnthropicBatchesConfig(BaseBatchesConfig):def __init__(self):from ..chat.transformation import AnthropicConfig- from ..common_utils import AnthropicError, AnthropicModelInfo+ from ..common_utils import AnthropicModelInfoself.anthropic_chat_config = AnthropicConfig() # initialize onceself.anthropic_model_info = AnthropicModelInfo()