From 96e384bece77bbd7a69cb131ab17ac702d5ebcdb Mon Sep 17 00:00:00 2001 From: Saifeddine ALOUI Date: Fri, 21 Feb 2025 11:18:46 +0100 Subject: [PATCH] Update lollms_webui.py --- lollms_webui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lollms_webui.py b/lollms_webui.py index ceb9092e..18448ef7 100644 --- a/lollms_webui.py +++ b/lollms_webui.py @@ -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)