This commit is contained in:
Saifeddine ALOUI 2023-11-14 23:06:36 +01:00
parent 86b919c8de
commit 2b6a91a3c1

View File

@ -272,7 +272,7 @@ def chat_completions():
for token in response:
stream_callback(token, None)
return app.response_class(
response,
stream(),
mimetype='text/event-stream'
)
else: