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
style: apply black formatting
Imgyu Kim64eb6954226e
diff --git a/litellm/litellm_core_utils/get_llm_provider_logic.py b/litellm/litellm_core_utils/get_llm_provider_logic.pyindex f96c2e47e6a..a79dcfe98c6 100644--- a/litellm/litellm_core_utils/get_llm_provider_logic.py+++ b/litellm/litellm_core_utils/get_llm_provider_logic.py@@ -165,7 +165,7 @@ def get_llm_provider( # noqa: PLR0915if (custom_llm_provider == "openrouter"and model.startswith("openrouter/")- and "/" not in model[len("openrouter/"):]+ and "/" not in model[len("openrouter/") :]):return model, custom_llm_provider, dynamic_api_key, api_base