diff --git a/events/lollms_discussion_events.py b/events/lollms_discussion_events.py index ca7c84ff..eb7e1f9c 100644 --- a/events/lollms_discussion_events.py +++ b/events/lollms_discussion_events.py @@ -53,6 +53,10 @@ def add_events(sio:socketio): lollmsElfServer.session.get_client(client_id).discussion = lollmsElfServer.db.load_last_discussion() if lollmsElfServer.personality.welcome_message!="": + if lollmsElfServer.personality.processor: + welcome_message = lollmsElfServer.personality.processor.get_welcome() + if welcome_message is not None: + lollmsElfServer.personality.welcome_message = welcome_message if lollmsElfServer.personality.welcome_audio_path.exists(): for voice in lollmsElfServer.personality.welcome_audio_path.iterdir(): if voice.suffix.lower() in [".wav",".mp3"]: diff --git a/lollms_core b/lollms_core index 03072a36..c319cfe0 160000 --- a/lollms_core +++ b/lollms_core @@ -1 +1 @@ -Subproject commit 03072a36cef484a6ad0616b49b4fcf24e0b433f1 +Subproject commit c319cfe00cc9bfe725bbc662ffefa92af6118521 diff --git a/zoos/personalities_zoo b/zoos/personalities_zoo index f37030ea..aae43d98 160000 --- a/zoos/personalities_zoo +++ b/zoos/personalities_zoo @@ -1 +1 @@ -Subproject commit f37030eab7775d12bcbe9e8413662d86ef987469 +Subproject commit aae43d98e62a3090eedd0893e4f22336225e93bd