a little bugfix

This commit is contained in:
Saifeddine ALOUI 2023-11-16 00:27:08 +01:00
parent 788654bd5e
commit c072a98319
2 changed files with 2 additions and 2 deletions

View File

@ -1511,7 +1511,8 @@ class LoLLMsAPPI(LollmsApplication):
}, room=client_id
)
self.socketio.sleep(0.01)
self.connections[client_id]["current_discussion"].update_message(self.connections[client_id]["generated_text"], new_metadata=mtdt, new_ui=ui)
if msg_type != MSG_TYPE.MSG_TYPE_INFO:
self.connections[client_id]["current_discussion"].update_message(self.connections[client_id]["generated_text"], new_metadata=mtdt, new_ui=ui)
def close_message(self, client_id):
if not self.connections[client_id]["current_discussion"]:

View File

@ -614,7 +614,6 @@ class Discussion:
)
self.messages.append(self.current_message)
self.current_message.update(content, metadata, ui)
return self.current_message
def rename(self, new_title):