mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-11 08:38:24 +00:00
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:
parent
bf36874ea2
commit
67d40ec3f0
1 changed files with 1 additions and 1 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue