added telemetry decorators to other chat clients (#255)

This commit is contained in:
Eduard van Valkenburg
2025-07-28 19:08:58 +02:00
committed by GitHub
Unverified
parent c794892d79
commit dff700e469
2 changed files with 12 additions and 6 deletions
@@ -29,6 +29,7 @@ from agent_framework import (
)
from agent_framework._clients import ai_function_to_json_schema_spec
from agent_framework.exceptions import ServiceInitializationError
from agent_framework.telemetry import use_telemetry
from azure.ai.agents.models import (
AgentsNamedToolChoice,
AgentsNamedToolChoiceType,
@@ -90,6 +91,7 @@ class FoundrySettings(AFBaseSettings):
agent_name: str | None = "UnnamedAgent"
@use_telemetry
@use_tool_calling
class FoundryChatClient(ChatClientBase):
"""Azure AI Foundry Chat client."""