mirror of
https://git.mirrors.martin98.com/https://github.com/open-webui/open-webui
synced 2025-08-17 11:05:53 +08: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…
x
Reference in New Issue
Block a user