Send a phone call from AI agent, in an API call. Or, directly call the bot from the configured phone number!
Python
fix: Sentences LLM buffer separator
Clémence Lesné262ac022413d
diff --git a/main.py b/main.pyindex 49c197e..1f65727 100644--- a/main.py+++ b/main.py@@ -113,7 +113,7 @@ api = FastAPI(CALL_EVENT_URL = f'{CONFIG.api.events_domain.strip("/")}/call/event'CALL_INBOUND_URL = f'{CONFIG.api.events_domain.strip("/")}/call/inbound'-SENTENCE_R = r"[^\w\s+\-/'\",:;()]"+SENTENCE_R = r"[^\w\s+\-/'\",:;()@]"MESSAGE_ACTION_R = rf"(?:{'|'.join([action.value for action in MessageAction])}):"FUNC_NAME_SANITIZER_R = r"[^a-zA-Z0-9_-]"