Send a phone call from AI agent, in an API call. Or, directly call the bot from the configured phone number!
Python
quality: Code quality
Clémence Lesné6b4049818f45
diff --git a/main.py b/main.pyindex 6aaadf9..7a56c79 100644--- a/main.py+++ b/main.py@@ -8,7 +8,6 @@ from azure.communication.callautomation import (TextSource,)from azure.communication.sms import SmsClient-from pydantic.json import pydantic_encoderfrom azure.core.credentials import AzureKeyCredentialfrom azure.core.exceptions import ResourceNotFoundErrorfrom azure.core.messaging import CloudEvent@@ -24,10 +23,11 @@ from fastapi.middleware.cors import CORSMiddlewarefrom fastapi.responses import JSONResponse, Responsefrom helpers.config import CONFIGfrom helpers.logging import build_logger-from helpers.version import VERSIONfrom helpers.prompts import LLM as LLMPrompt, TTS as TTSPrompt+from helpers.version import VERSIONfrom models.action import ActionModel, Indent as IndentActionfrom models.reminder import ReminderModel+from pydantic.json import pydantic_encoderfrom twilio.base.exceptions import TwilioRestExceptionfrom twilio.rest import Clientfrom models.call import (