Timothy Jaeryang Baek 4 mēneši atpakaļ
vecāks
revīzija
e6e8978f78
1 mainītis faili ar 3 papildinājumiem un 0 dzēšanām
  1. 3 0
      backend/open_webui/utils/chat.py

+ 3 - 0
backend/open_webui/utils/chat.py

@@ -157,6 +157,9 @@ async def generate_chat_completion(
         )
 
 
+chat_completion = generate_chat_completion
+
+
 async def chat_completed(request: Request, form_data: dict, user: Any):
     if not request.app.state.MODELS:
         await get_all_models(request)