mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2025-01-18 02:39:47 +00:00
we send message type of 1 but not the others
This commit is contained in:
parent
10ef64ebf8
commit
604faa5fb3
@ -707,6 +707,7 @@ class GPT4AllAPI():
|
||||
def process_chunk(self, chunk, message_type):
|
||||
if message_type == 0:
|
||||
self.bot_says += chunk
|
||||
if message_type < 2:
|
||||
self.socketio.emit('message', {
|
||||
'data': self.bot_says,
|
||||
'user_message_id':self.current_user_message_id,
|
||||
|
Loading…
Reference in New Issue
Block a user