Send a phone call from AI agent, in an API call. Or, directly call the bot from the configured phone number!
Python
fix: TTS sanitizer avoid quotes
Clémence Lesné5bcd86d20a43
diff --git a/helpers/call_utils.py b/helpers/call_utils.pyindex e016ea1..e21b814 100644--- a/helpers/call_utils.py+++ b/helpers/call_utils.py@@ -23,8 +23,9 @@ import re_logger = build_logger(__name__)_SENTENCE_PUNCTUATION_R = r"(\. |\.$|[!?;])" # Split by sentence by punctuation-_TTS_SANITIZER_R = re.compile(r"[^\w\s,.!?;\-_@/]") # Sanitize text for TTS-+_TTS_SANITIZER_R = re.compile(+ r"[^\w\s'«»“”\"\"‘’''(),.!?;\-\+_@/]"+) # Sanitize text for TTSclass ContextEnum(str, Enum):"""