Skip to content

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]

Fixing key name

Eddie Richter1e1e4c36ac23
diff --git a/litellm/main.py b/litellm/main.py
index 76b39329866..4387e731980 100644
--- a/litellm/main.py
+++ b/litellm/main.py
@@ -3550,7 +3550,7 @@ def completion( # type: ignore # noqa: PLR0915
elif custom_llm_provider == "lemonade":
api_key = (
api_key
- or litellm.bytez_key
+ or litellm.lemonade_key
or get_secret_str("LEMONADE_API_KEY")
or litellm.api_key
)