mirror of
https://github.com/ParisNeo/lollms.git
synced 2025-01-21 03:55:01 +00:00
Update summon_personality.py
This commit is contained in:
parent
b3291c5878
commit
0e52d59a06
@ -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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user