Merge pull request #439 from mishalhossin/patch-1

This should prevent the UnicodeDecodeError in theb
This commit is contained in:
t.me/xtekky 2023-05-04 19:09:55 +01:00 committed by GitHub
commit 53177ea123
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -65,4 +65,4 @@ class Completion:
@staticmethod
def handle_stream_response(response):
Completion.message_queue.put(response.decode())
Completion.message_queue.put(response.decode(errors='replace'))