This commit is contained in:
Timothy J. Baek 2024-08-07 15:52:03 +02:00
parent 8187922ef1
commit ad9a7cb1e2

View File

@ -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)