fix(chat): escape apostrophe in conversational fallback reply
This commit is contained in:
@@ -310,7 +310,7 @@ def parse_and_handle(chat_id: int, msg_id: int, text: str) -> str:
|
|||||||
return f"Queued.\n{out[:3000]}"
|
return f"Queued.\n{out[:3000]}"
|
||||||
|
|
||||||
if intent in {'chat','ask','unknown'}:
|
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()
|
return "Unknown command.\n" + help_text()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user