Send a phone call from AI agent, in an API call. Or, directly call the bot from the configured phone number!
Python
perf: Default timeout for all Azure SDKs
Clémence Lesnéef4b2620ae3c
diff --git a/helpers/http.py b/helpers/http.pyindex bb6c606..47b01fd 100644--- a/helpers/http.py+++ b/helpers/http.py@@ -1,4 +1,4 @@-from aiohttp import ClientSession, DummyCookieJar+from aiohttp import ClientSession, DummyCookieJar, ClientTimeoutfrom aiohttp_retry import JitterRetry, RetryClientfrom azure.core.pipeline.transport._aiohttp import AioHttpTransportfrom twilio.http.async_http_client import AsyncTwilioHttpClient@@ -26,6 +26,11 @@ async def aiohttp_session() -> ClientSession:auto_decompress=False,cookie_jar=await _aiohttp_cookie_jar(),trust_env=True,+ # Reliability+ timeout=ClientTimeout(+ connect=5,+ total=60,+ ),)return _session