remove useless event attribute

This commit is contained in:
Anthony 2025-04-03 21:10:49 +02:00
parent 6e4b210f14
commit 42dc791278

View File

@ -737,13 +737,6 @@ async def generate_openai_chat_completion(form_data: OpenAIChatCompletionForm):
}
],
}
event = {
"type" : 'status',
"data" : {
"description" : "test",
"done" : True
}
}
yield f"data: {json.dumps(finish_message)}\n\n"
yield f"data: [DONE]"