From 0e52d59a06b7f05e3b2611ce7b053fafa44143a9 Mon Sep 17 00:00:00 2001 From: Saifeddine ALOUI Date: Wed, 22 May 2024 15:54:29 +0200 Subject: [PATCH] Update summon_personality.py --- lollms/functions/summon_personality.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lollms/functions/summon_personality.py b/lollms/functions/summon_personality.py index 0011d56..017c453 100644 --- a/lollms/functions/summon_personality.py +++ b/lollms/functions/summon_personality.py @@ -18,8 +18,7 @@ def summon_personality(member_id:int, prompt: str, previous_discussion_text:str, members:List[AIPersonality] = processor.personality.app.mounted_personalities processor.personality.app.personality = members[member_id] members[member_id].callback=callback - members[member_id].new_message("") - processor.personality.app.handle_generate_msg(client.client_id, {"prompt":prompt}) + processor.personality.app.handle_generate_msg(client.client_id, {"prompt":prompt}, False) processor.personality.app.personality = processor.personality return "Execution done"