From 244744b645fcb582d4b4bd65306bda2ae98bc64d Mon Sep 17 00:00:00 2001 From: Saifeddine ALOUI Date: Wed, 10 Jan 2024 00:08:41 +0100 Subject: [PATCH] upgraded --- lollms_core | 2 +- lollms_webui.py | 6 ++---- zoos/personalities_zoo | 2 +- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/lollms_core b/lollms_core index 6708243a..c86dbe7e 160000 --- a/lollms_core +++ b/lollms_core @@ -1 +1 @@ -Subproject commit 6708243a62713be44a60c17851037ff3a454c9b9 +Subproject commit c86dbe7e598d764143a280cbdccf81d5ddd553d7 diff --git a/lollms_webui.py b/lollms_webui.py index e856959c..3588dd48 100644 --- a/lollms_webui.py +++ b/lollms_webui.py @@ -1142,8 +1142,7 @@ class LOLLMSWebUI(LOLLMSElfServer): if message_type == MSG_TYPE.MSG_TYPE_NEW_MESSAGE: self.nb_received_tokens = 0 self.start_time = datetime.now() - run_async( - partial(self.new_message, + self.new_message( client_id, self.personality.name if personality is None else personality.name, chunk if parameters["type"]!=MSG_TYPE.MSG_TYPE_UI.value else '', @@ -1153,7 +1152,7 @@ class LOLLMSWebUI(LOLLMSElfServer): } ] if parameters["type"]==MSG_TYPE.MSG_TYPE_JSON_INFOS.value else None, ui= chunk if parameters["type"]==MSG_TYPE.MSG_TYPE_UI.value else None, - message_type= MSG_TYPE(parameters["type"])) + message_type= MSG_TYPE(parameters["type"]) ) elif message_type == MSG_TYPE.MSG_TYPE_FINISHED_MESSAGE: @@ -1407,7 +1406,6 @@ class LOLLMSWebUI(LOLLMSElfServer): # Send final message self.close_message(client_id) - self.socketio.sleep(0.01) self.connections[client_id]["processing"]=False if self.connections[client_id]["schedule_for_deletion"]: del self.connections[client_id] diff --git a/zoos/personalities_zoo b/zoos/personalities_zoo index cd7b93f7..cd981705 160000 --- a/zoos/personalities_zoo +++ b/zoos/personalities_zoo @@ -1 +1 @@ -Subproject commit cd7b93f7f0bb1a17928378ff7381729a846de371 +Subproject commit cd9817054bee86a377a589b6598c0076095f7992