"src/lib/vscode:/vscode.git/clone" did not exist on "553dcd208ca2dac979dbda88d681fee482bc82c1"
Unverified Commit 99d10d11 authored by Timothy Jaeryang Baek's avatar Timothy Jaeryang Baek Committed by GitHub
Browse files

Merge pull request #4430 from open-webui/dev

fix
parents c869652e ad9a7cb1
......@@ -356,7 +356,9 @@ async def generate_chat_completion(
):
idx = 0
payload = {**form_data}
payload.pop("metadata")
if "metadata" in payload:
del payload["metadata"]
model_id = form_data.get("model")
model_info = Models.get_model_by_id(model_id)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment