Commit 8187922e authored by Timothy J. Baek's avatar Timothy J. Baek
Browse files

fix: "metadata" issue

parent 240a3014
......@@ -356,7 +356,9 @@ async def generate_chat_completion(
):
idx = 0
payload = {**form_data}
payload.pop("metadata")
if "metadata" in payload:
payload.pop("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