From 9d5853943a29bf31cf24f1d1b3e8aae815113479 Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Mon, 8 Jul 2024 15:02:12 -0700 Subject: [PATCH] fix routes on assistants endpoints --- litellm/proxy/_types.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/litellm/proxy/_types.py b/litellm/proxy/_types.py index 42f81df7c45..c2bbde38f30 100644 --- a/litellm/proxy/_types.py +++ b/litellm/proxy/_types.py @@ -202,6 +202,17 @@ class LiteLLMRoutes(enum.Enum): # files "/v1/files", "/files", + # assistants-related routes + "/assistants", + "/v1/assistants", + "/threads", + "/v1/threads", + "/threads/{thread_id}", + "/v1/threads/{thread_id}", + "/threads/{thread_id}/messages", + "/v1/threads/{thread_id}/messages", + "/threads/{thread_id}/runs", + "/v1/threads/{thread_id}/runs", # models "/models", "/v1/models",