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
This commit is contained in:
Bahtya 2026-04-09 18:26:32 +08:00 • committed by Bahtya
parent bf36874ea2
commit 67d40ec3f0

View file

@ -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")