mirror of
https://github.com/open-webui/pipelines
synced 2025-05-30 10:11:26 +00:00
remove useless event attribute
This commit is contained in:
parent
6e4b210f14
commit
42dc791278
7
main.py
7
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: {json.dumps(finish_message)}\n\n"
|
||||||
yield f"data: [DONE]"
|
yield f"data: [DONE]"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user