From 67d40ec3f075f9c312f0c5b6133bcea4ede97ade Mon Sep 17 00:00:00 2001 From: Bahtya Date: Thu, 9 Apr 2026 18:26:32 +0800 Subject: [PATCH] fix(lemonade): update stale comment in _get_openai_compatible_provider_info The inline comment still said 'Lemonade doesn't check the key' but the purpose of the enclosing PR is to honour a configured api_key. Updated to 'Use explicitly provided key, fall back to env var, then to default'. Bahtya --- litellm/llms/lemonade/chat/transformation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/llms/lemonade/chat/transformation.py b/litellm/llms/lemonade/chat/transformation.py index 95f39a5d55b..4abfa407757 100644 --- a/litellm/llms/lemonade/chat/transformation.py +++ b/litellm/llms/lemonade/chat/transformation.py @@ -110,7 +110,7 @@ class LemonadeChatConfig(OpenAILikeChatConfig): or get_secret_str("LEMONADE_API_BASE") or "http://localhost:8000/api/v1" ) # type: ignore - # Lemonade doesn't check the key + # Use explicitly provided key, fall back to env var, then to default key = ( api_key or get_secret_str("LEMONADE_API_KEY")