accept tg ai api keys - tg_ai_api_key

This commit is contained in:
ishaan-jaff 2023-08-24 18:11:52 -07:00
parent f3dfa4712b
commit 6934e25e5e

View file

@ -527,6 +527,7 @@ def completion(
TOGETHER_AI_TOKEN = (
get_secret("TOGETHER_AI_TOKEN")
or get_secret("TOGETHERAI_API_KEY")
or get_secret("TOGETHER_AI_API_KEY")
or api_key
or litellm.togetherai_api_key
)