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(main.py): fix OR import
Krrish Dholakia76c3957140e9
diff --git a/litellm/main.py b/litellm/main.pyindex 614312ca026..6cc1057bb45 100644--- a/litellm/main.py+++ b/litellm/main.py@@ -2249,7 +2249,7 @@ def completion( # type: ignore # noqa: PLR0915api_base = (api_baseor litellm.api_base- or get_secret("OPENROUTER_API_BASE")+ or get_secret_str("OPENROUTER_API_BASE")or "https://openrouter.ai/api/v1")