From d2a6556367314445f496cee8c897bd5d61ebbd5f Mon Sep 17 00:00:00 2001 From: Daniel Dayley Date: Tue, 10 Sep 2024 14:56:12 -0600 Subject: [PATCH] I'm just developing this in prod --- persona/skills/simplereply.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/persona/skills/simplereply.py b/persona/skills/simplereply.py index c2a8417..9e1aabf 100644 --- a/persona/skills/simplereply.py +++ b/persona/skills/simplereply.py @@ -45,9 +45,8 @@ class PersonaSkill(PersonaBaseSkill) : response_options = SIMPLE_REPLIES[trigger] break response_text = random.choice(response_options) - response = SIMPLE_REPLIES[message.text] return persona.Message( - text=response, + text=response_text, sender_identifier=message.sender_identifier, chat_identifier=message.chat_identifier, attachments=[],