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

refac

parent 8187922e
......@@ -358,7 +358,7 @@ async def generate_chat_completion(
payload = {**form_data}
if "metadata" in payload:
payload.pop("metadata")
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