Send a phone call from AI agent, in an API call. Or, directly call the bot from the configured phone number!
Python
fix: Twilio health check
Clémence Lesné00d8b5053a53
diff --git a/persistence/twilio.py b/persistence/twilio.pyindex 9fac94a..e63074c 100644--- a/persistence/twilio.py+++ b/persistence/twilio.py@@ -27,7 +27,7 @@ class TwilioSms(ISms):client = await self._use_client()try:account = await client.api.accounts(account_sid).fetch_async()- balance = account.balance.fetch()+ balance = await account.balance.fetch_async()assert balance.balance and float(balance.balance) > 0return ReadinessEnum.OKexcept AssertionError: