fix(main.py): fix OR import

This commit is contained in:
Krrish Dholakia 2025-03-20 13:52:28 -07:00
parent dd135099cc
commit 803f723fb9

View file

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