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:Argument llm_provider
Sameer Kankutea69384598c3c
diff --git a/litellm/llms/anthropic/batches/handler.py b/litellm/llms/anthropic/batches/handler.pyindex 3061abda969..31f3e91f144 100644--- a/litellm/llms/anthropic/batches/handler.py+++ b/litellm/llms/anthropic/batches/handler.py@@ -11,7 +11,7 @@ from litellm.llms.custom_httpx.http_handler import (get_async_httpx_client,)from litellm.types.llms.openai import RetrieveBatchRequest-from litellm.types.utils import LiteLLMBatch+from litellm.types.utils import LiteLLMBatch, LlmProvidersif TYPE_CHECKING:from litellm.litellm_core_utils.litellm_logging import Logging as LiteLLMLoggingObj@@ -106,7 +106,7 @@ class AnthropicBatchesHandler:},)# Make the request- async_client = get_async_httpx_client(llm_provider="anthropic")+ async_client = get_async_httpx_client(llm_provider=LlmProviders.ANTHROPIC)response = await async_client.get(url=retrieve_url,headers=headers