Merge pull request #598 from ParisNeo/ParisNeo-patch-9

Update lollms_webui.py
This commit is contained in:
Saifeddine ALOUI 2025-02-21 11:19:02 +01:00 committed by GitHub
commit 20b61f333f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1746,7 +1746,7 @@ Don't forget encapsulate the code inside a markdown code tag. This is mandatory.
self.personality.set_message_content(output)
if fc.function_type == FunctionType.CONTEXT_UPDATE:
process_output = fc.process_output(context_details, client.generated_text)
self.personality.new_message(process_output)
self.personality.set_message_content(process_output)
except Exception as ex:
trace_exception(ex)