moved to lollms v2.1.59

This commit is contained in:
saloui 2023-07-27 16:27:46 +02:00
parent d1078fa257
commit 0c22ce20da
2 changed files with 3 additions and 2 deletions

View File

@ -749,7 +749,7 @@ class LoLLMsAPPI(LollmsApplication):
return string
def process_chunk(self, chunk, message_type:MSG_TYPE, client_id):
def process_chunk(self, chunk, message_type:MSG_TYPE, metadata:dict={}, client_id:int=0):
"""
0 : a regular message
1 : a notification message

3
app.py
View File

@ -78,7 +78,8 @@ try:
import shutil
import socket
except:
except Exception as ex:
print(ex)
print("Error importing some libraries. Updating lollms...")
run_update_script()