This commit is contained in:
Saifeddine ALOUI 2024-12-04 00:50:40 +01:00
parent 4c243451f6
commit 9b54a1bfdf
4 changed files with 5 additions and 5 deletions

@ -1 +1 @@
Subproject commit 385b235acc2440ebe843001eeba167a441ec5d7c
Subproject commit ec2d3a9113178869140a89709914ca6bdf6169fa

View File

@ -1308,9 +1308,9 @@ class LOLLMSWebUI(LOLLMSElfServer):
return
ASCIIColors.info(f"Text generation requested by client: {client_id}")
# send the message to the bot
print(f"Received message : {message.content}")
if client.discussion:
try:
ASCIIColors.info(f"Received message : {message.content} ({len(self.model.tokenize(message.content))})")
# First we need to send the new message ID to the client
if is_continue:
client.discussion.load_message(message_id)

4
web/package-lock.json generated
View File

@ -1146,7 +1146,7 @@
"node": "^18.0.0 || >=20.0.0"
},
"peerDependencies": {
"vite": "^5.0.0",
"vite": "^5.1.8",
"vue": "^3.2.25"
}
},
@ -4847,7 +4847,7 @@
"is-glob": "^4.0.3",
"jiti": "^1.21.0",
"lilconfig": "^2.1.0",
"micromatch": "^4.0.5",
"micromatch": "^4.0.8",
"normalize-path": "^3.0.0",
"object-hash": "^3.0.0",
"picocolors": "^1.0.0",

@ -1 +1 @@
Subproject commit d95dbd4a491bf55295f4f3b2fe95b7cb09773b59
Subproject commit 13384b79ee31a866e6121c1edd4b549da054c56c