Skip to content

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é1edc350290f2
diff --git a/helpers/llm_tools.py b/helpers/llm_tools.py
index 813ab05..543e1f8 100644
--- a/helpers/llm_tools.py
+++ b/helpers/llm_tools.py
@@ -401,9 +401,9 @@ class LlmPlugins:
await self.tts_callback(customer_response, self.style)
# TODO: Implement notification to emergency services for production usage
logger.info(
- f"Notifying {service}, location {location}, contact {contact}, reason {reason}."
+ f"Notifying {service}, location {location}, contact {contact}, reason {reason}"
)
- return f"Notifying {service} for {reason}."
+ return f"Notifying {service} for {reason}"
async def send_sms(
self,