From 42dc791278d3904d2f47c0a086ae1fb078d79ab8 Mon Sep 17 00:00:00 2001 From: Anthony Date: Thu, 3 Apr 2025 21:10:49 +0200 Subject: [PATCH] remove useless event attribute --- main.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/main.py b/main.py index 017b10a..f6bafd4 100644 --- a/main.py +++ b/main.py @@ -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]"