Fix pre commit 5

This commit is contained in:
Tao Chen
2026-04-20 20:30:25 -07:00
Unverified
parent 01d8a8af53
commit 7f751e7a0f
@@ -359,11 +359,11 @@ async def main():
credential=AzureCliCredential(),
)
await client.configure_azure_monitor(enable_live_metrics=True)
# For non-Azure AI projects
from azure.monitor.opentelemetry import configure_azure_monitor
from agent_framework.observability import create_resource, enable_instrumentation
configure_azure_monitor(
connection_string="InstrumentationKey=...",
resource=create_resource(),