mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 03:04:13 +00:00
support dynamic api base
This commit is contained in:
parent
dd10da4d46
commit
40bb165108
1 changed files with 2 additions and 1 deletions
|
@ -4487,7 +4487,8 @@ def get_llm_provider(
|
|||
)
|
||||
elif custom_llm_provider == "friendliai":
|
||||
api_base = (
|
||||
get_secret("FRIENDLI_API_BASE")
|
||||
api_base
|
||||
or get_secret("FRIENDLI_API_BASE")
|
||||
or "https://inference.friendli.ai/v1"
|
||||
)
|
||||
dynamic_api_key = (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue