From 87ba39df5758f907809110467c899b85eba41a34 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Thu, 2 Jan 2025 14:32:25 -0800 Subject: [PATCH] fix: moa --- backend/open_webui/routers/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/open_webui/routers/tasks.py b/backend/open_webui/routers/tasks.py index 107b99b09..7d14a9d18 100644 --- a/backend/open_webui/routers/tasks.py +++ b/backend/open_webui/routers/tasks.py @@ -499,8 +499,8 @@ async def generate_moa_response( "model": task_model_id, "messages": [{"role": "user", "content": content}], "stream": form_data.get("stream", False), - "chat_id": form_data.get("chat_id", None), "metadata": { + "chat_id": form_data.get("chat_id", None), "task": str(TASKS.MOA_RESPONSE_GENERATION), "task_body": form_data, },