Merge branch 'dev' into remove-ollama

This commit is contained in:
Timothy Jaeryang Baek authored and GitHub committed 2024-08-07 23:06:11 +02:00
commit 670f28d694
17 files changed
+497 -749

No files matched your search

+4 -2
View File
@@ -359,8 +359,10 @@ async def generate_chat_completion(
):
idx = 0
payload = {**form_data}
payload.pop("metadata", None)
if "metadata" in payload:
del payload["metadata"]
model_id = form_data.get("model")
model_info = Models.get_model_by_id(model_id)