ChatGPT should not respond to it's own messages
All checks were successful
git.cronocide.net/bluebubbles-bot/pipeline/head This commit looks good

This commit is contained in:
Daniel Dayley 2023-04-18 09:39:26 -06:00
parent 8cbba81c23
commit a3e5e364a7

View File

@ -74,6 +74,8 @@ class PersonaSkill(PersonaBaseSkill) :
if matches :
self.enabled_chats.remove(message.chat_identifier)
return False
if message.meta['isFromMe'] :
return False
# We are responding in this chat and have not been asked to stop.
return True