fix(utils.py): route together ai calls to openai client

together ai is now openai-compatible

n
This commit is contained in:
Krrish Dholakia 2024-02-03 19:22:48 -08:00
parent 8195bfd286
commit 85a3515d83
6 changed files with 23 additions and 4 deletions

View file

@ -285,6 +285,7 @@ openai_compatible_endpoints: List = [
"api.endpoints.anyscale.com/v1",
"api.deepinfra.com/v1/openai",
"api.mistral.ai/v1",
"api.together.xyz/v1",
]
# this is maintained for Exception Mapping
@ -294,6 +295,7 @@ openai_compatible_providers: List = [
"deepinfra",
"perplexity",
"xinference",
"together_ai",
]