mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 03:04:13 +00:00
fix(main.py): fix OR import
This commit is contained in:
parent
dd135099cc
commit
803f723fb9
1 changed files with 1 additions and 1 deletions
|
@ -2249,7 +2249,7 @@ def completion( # type: ignore # noqa: PLR0915
|
|||
api_base = (
|
||||
api_base
|
||||
or litellm.api_base
|
||||
or get_secret("OPENROUTER_API_BASE")
|
||||
or get_secret_str("OPENROUTER_API_BASE")
|
||||
or "https://openrouter.ai/api/v1"
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue