Add "/engines/{model}/chat/completions" to openai_routes

I don't think that this helps with the issue that I'm seeing, but I
think it might be nice to have this model listed in the openai_routes
list so that it's documented that it's a valid chat_completion route.
This commit is contained in:
Marc Abramowitz
2024-05-16 10:03:23 -07:00
parent d5b2e8e7e8
commit c427ea3781
+1
View File
@@ -88,6 +88,7 @@ class LiteLLMRoutes(enum.Enum):
]
openai_routes: List = [
# chat completions
"/engines/{model}/chat/completions",
"/openai/deployments/{model}/chat/completions",
"/chat/completions",
"/v1/chat/completions",