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
Fixing key name
Eddie Richter1e1e4c36ac23
diff --git a/litellm/main.py b/litellm/main.pyindex 76b39329866..4387e731980 100644--- a/litellm/main.py+++ b/litellm/main.py@@ -3550,7 +3550,7 @@ def completion( # type: ignore # noqa: PLR0915elif custom_llm_provider == "lemonade":api_key = (api_key- or litellm.bytez_key+ or litellm.lemonade_keyor get_secret_str("LEMONADE_API_KEY")or litellm.api_key)