diff --git a/api/__init__.py b/api/__init__.py index a82ce6cb..7ef5a797 100644 --- a/api/__init__.py +++ b/api/__init__.py @@ -299,7 +299,7 @@ class LoLLMsAPI(LollmsApplication): trace_exception(ex) self.error("Couldn't use the webcam") - @self.socketio.on('create_empty_message') + @socketio.on('create_empty_message') def create_empty_message(data): client_id = request.sid type = data.get("type",0) diff --git a/app.py b/app.py index 99b7a2ce..e85fa7da 100644 --- a/app.py +++ b/app.py @@ -87,6 +87,10 @@ if __name__ == "__main__": from lollms.server.events.lollms_generation_events import add_events as lollms_generation_events_add from lollms.server.events.lollms_personality_events import add_events as lollms_personality_events_add from lollms.server.events.lollms_files_events import add_events as lollms_files_events_add + from lollms.server.events.lollms_model_events import add_events as lollms_model_events_add + from lollms.server.events.lollms_rag_events import add_events as lollms_rag_events_add + + from events.lollms_generation_events import add_events as lollms_webui_generation_events_add from events.lollms_discussion_events import add_events as lollms_webui_discussion_events_add from events.lollms_chatbox_events import add_events as lollms_chatbox_events_add @@ -127,7 +131,8 @@ if __name__ == "__main__": lollms_generation_events_add(sio) lollms_personality_events_add(sio) lollms_files_events_add(sio) - + lollms_model_events_add(sio) + lollms_rag_events_add(sio) lollms_webui_generation_events_add(sio) lollms_webui_discussion_events_add(sio) diff --git a/lollms_core b/lollms_core index aad6e2e6..79077ce2 160000 --- a/lollms_core +++ b/lollms_core @@ -1 +1 @@ -Subproject commit aad6e2e685eab6acc1d7d67621a1d1b8a9bb3169 +Subproject commit 79077ce2429bd45668c88596aa7c1ce0d880bfe5