Send a phone call from AI agent, in an API call. Or, directly call the bot from the configured phone number!
Python
fix: Re-enable console logging
Clémence Lesné1f73ca98f90e
diff --git a/helpers/logging.py b/helpers/logging.pyindex 91fb34b..ce2dcf1 100644--- a/helpers/logging.py+++ b/helpers/logging.py@@ -1,6 +1,6 @@from azure.monitor.opentelemetry import configure_azure_monitorfrom helpers.config import CONFIG-from logging import Logger, getLogger, basicConfig+from logging import Logger, getLogger, basicConfig, StreamHandlerfrom opentelemetry import tracefrom opentelemetry.instrumentation.aiohttp_client import AioHttpClientInstrumentorfrom opentelemetry.instrumentation.httpx import HTTPXClientInstrumentor@@ -9,6 +9,7 @@ from opentelemetry.instrumentation.httpx import HTTPXClientInstrumentorconfigure_azure_monitor(connection_string=CONFIG.monitoring.application_insights.connection_string.get_secret_value(),) # Configure Azure monitor collection+getLogger("").addHandler(StreamHandler()) # Re-enable logging to stdoutAioHttpClientInstrumentor().instrument() # Instrument aiohttpHTTPXClientInstrumentor().instrument() # Instrument httpx