mirror of
https://github.com/open-webui/open-webui
synced 2024-11-26 14:02:29 +00:00
fix: "metadata" issue
This commit is contained in:
parent
240a30147d
commit
8187922ef1
@ -356,6 +356,8 @@ async def generate_chat_completion(
|
||||
):
|
||||
idx = 0
|
||||
payload = {**form_data}
|
||||
|
||||
if "metadata" in payload:
|
||||
payload.pop("metadata")
|
||||
|
||||
model_id = form_data.get("model")
|
||||
|
Loading…
Reference in New Issue
Block a user