diff --git a/events/lollms_chatbox_events.py b/events/lollms_chatbox_events.py index 76023f0a..5c5e1e9c 100644 --- a/events/lollms_chatbox_events.py +++ b/events/lollms_chatbox_events.py @@ -79,7 +79,7 @@ def add_events(sio:socketio): # File saved successfully run_async(partial(sio.emit,'web_page_added', {'status':True,})) else: - lollmsElfServer.personality.add_file(file_path, partial(lollmsElfServer.process_chunk, client_id = sid)) + lollmsElfServer.personality.add_file(file_path, client, partial(lollmsElfServer.process_chunk, client_id = sid)) # File saved successfully run_async(partial(sio.emit,'web_page_added', {'status':True})) except Exception as e: diff --git a/lollms_core b/lollms_core index b643ad28..2496b9c4 160000 --- a/lollms_core +++ b/lollms_core @@ -1 +1 @@ -Subproject commit b643ad28608443979a214c9bda8103e8653d7c31 +Subproject commit 2496b9c4dce2dadb06d89a51db16ec15517f2492