mirror of
https://github.com/ParisNeo/lollms.git
synced 2024-12-22 14:02:27 +00:00
Update lollms_personality_events.py
This commit is contained in:
parent
dbe1161b73
commit
6e6e00f442
@ -161,6 +161,11 @@ def add_events(sio:socketio):
|
||||
if lollmsElfServer.personality.processor is not None:
|
||||
lollmsElfServer.start_time = datetime.now()
|
||||
lollmsElfServer.personality.processor.callback = partial(lollmsElfServer.process_chunk, client_id=client_id)
|
||||
lollmsElfServer.personality.vectorizer = client.discussion.vectorizer
|
||||
lollmsElfServer.personality.text_files = client.discussion.text_files
|
||||
lollmsElfServer.personality.image_files = client.discussion.image_files
|
||||
lollmsElfServer.personality.audio_files = client.discussion.audio_files
|
||||
|
||||
lollmsElfServer.personality.processor.execute_command(command, parameters, client)
|
||||
else:
|
||||
lollmsElfServer.warning("Non scripted personalities do not support commands",client_id=client_id)
|
||||
|
Loading…
Reference in New Issue
Block a user