fix: "metadata" issue

This commit is contained in:
Timothy J. Baek 2024-08-07 15:49:48 +02:00
parent 240a30147d
commit 8187922ef1

View File

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