mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 11:57:51 +01:00
fix: moa
This commit is contained in:
@@ -499,8 +499,8 @@ async def generate_moa_response(
|
|||||||
"model": task_model_id,
|
"model": task_model_id,
|
||||||
"messages": [{"role": "user", "content": content}],
|
"messages": [{"role": "user", "content": content}],
|
||||||
"stream": form_data.get("stream", False),
|
"stream": form_data.get("stream", False),
|
||||||
"chat_id": form_data.get("chat_id", None),
|
|
||||||
"metadata": {
|
"metadata": {
|
||||||
|
"chat_id": form_data.get("chat_id", None),
|
||||||
"task": str(TASKS.MOA_RESPONSE_GENERATION),
|
"task": str(TASKS.MOA_RESPONSE_GENERATION),
|
||||||
"task_body": form_data,
|
"task_body": form_data,
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user