mirror of
https://github.com/ParisNeo/lollms.git
synced 2025-04-15 22:46:35 +00:00
Update personality.py
This commit is contained in:
parent
ec43807bc8
commit
bfd5cee0ce
@ -1226,6 +1226,8 @@ class APScript(StateMachine):
|
||||
return string
|
||||
|
||||
def process(self, text:str, message_type:MSG_TYPE, callback=None):
|
||||
if text is None:
|
||||
return True
|
||||
bot_says = self.bot_says + text
|
||||
|
||||
antiprompt = self.personality.detect_antiprompt(bot_says)
|
||||
|
Loading…
x
Reference in New Issue
Block a user