From c427ea3781ef2d748163a338fa4f0bb01b7b152e Mon Sep 17 00:00:00 2001 From: Marc Abramowitz Date: Thu, 16 May 2024 10:03:23 -0700 Subject: [PATCH] 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. --- litellm/proxy/_types.py | 1 + 1 file changed, 1 insertion(+) diff --git a/litellm/proxy/_types.py b/litellm/proxy/_types.py index d4027f704e..6ec954c8bc 100644 --- a/litellm/proxy/_types.py +++ b/litellm/proxy/_types.py @@ -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",