Send a phone call from AI agent, in an API call. Or, directly call the bot from the configured phone number!
Python
doc: Enhance dev doc
Clémence Lesné40caf9e2dba4
diff --git a/helpers/http.py b/helpers/http.pyindex 17ad64c..bb6c606 100644--- a/helpers/http.py+++ b/helpers/http.py@@ -22,6 +22,7 @@ async def aiohttp_session() -> ClientSession:global _sessionif not _session:_session = ClientSession(+ # Same config as default in the SDKauto_decompress=False,cookie_jar=await _aiohttp_cookie_jar(),trust_env=True,@@ -33,7 +34,7 @@ async def azure_transport() -> AioHttpTransport:global _transportif not _transport:_transport = AioHttpTransport(- session_owner=False,+ session_owner=False, # Restrict the SDK to close the client after usagesession=await aiohttp_session(),)return _transport