mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +00:00
fix(utils.py): support get_secret("TOGETHER_AI_TOKEN")
This commit is contained in:
parent
c49c88c8e5
commit
efb6123d28
2 changed files with 3 additions and 2 deletions
|
@ -4684,6 +4684,7 @@ def get_llm_provider(
|
|||
get_secret("TOGETHER_API_KEY")
|
||||
or get_secret("TOGETHER_AI_API_KEY")
|
||||
or get_secret("TOGETHERAI_API_KEY")
|
||||
or get_secret("TOGETHER_AI_TOKEN")
|
||||
)
|
||||
return model, custom_llm_provider, dynamic_api_key, api_base
|
||||
elif model.split("/", 1)[0] in litellm.provider_list:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue