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 get_llm_provider for aiohttp openai
Ishaan Jaff1a6c4905f166
diff --git a/litellm/litellm_core_utils/get_llm_provider_logic.py b/litellm/litellm_core_utils/get_llm_provider_logic.pyindex ff7fa424dc4..bc960f04ca6 100644--- a/litellm/litellm_core_utils/get_llm_provider_logic.py+++ b/litellm/litellm_core_utils/get_llm_provider_logic.py@@ -394,6 +394,8 @@ def _get_openai_compatible_provider_info( # noqa: PLR0915) = litellm.PerplexityChatConfig()._get_openai_compatible_provider_info(api_base, api_key)+ elif custom_llm_provider == "aiohttp_openai":+ return model, "aiohttp_openai", api_key, api_baseelif custom_llm_provider == "anyscale":# anyscale is openai compatible, we just need to set this to custom_openai and have the api_base be https://api.endpoints.anyscale.com/v1api_base = api_base or get_secret_str("ANYSCALE_API_BASE") or "https://api.endpoints.anyscale.com/v1" # type: ignore