From abe21f6e2d672989a96bb57ca906c2c47b1c8ae1 Mon Sep 17 00:00:00 2001 From: Prime Backup Bot Date: Wed, 11 Mar 2026 21:59:09 +0000 Subject: [PATCH] fix(chat): escape apostrophe in conversational fallback reply --- prime_core/telegram_control.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prime_core/telegram_control.py b/prime_core/telegram_control.py index efe7f56..05824fa 100644 --- a/prime_core/telegram_control.py +++ b/prime_core/telegram_control.py @@ -310,7 +310,7 @@ def parse_and_handle(chat_id: int, msg_id: int, text: str) -> str: return f"Queued.\n{out[:3000]}" if intent in {'chat','ask','unknown'}: - return interp.get('reply') or 'I'm here. What would you like to do next?' + return interp.get('reply') or "I'm here. What would you like to do next?" return "Unknown command.\n" + help_text()