Backfill chat span request model if it's unknown and response model is avaliable (#6160)

This commit is contained in:
Tao Chen
2026-05-28 15:03:46 -05:00
committed by GitHub
Unverified
parent e9a606344a
commit 0578f4c910
3 changed files with 154 additions and 2 deletions
@@ -507,10 +507,10 @@ class _FoundryAgentChatClient( # type: ignore[misc]
.. code-block:: python
from agent_framework import Agent
from agent_framework.foundry import FoundryAgentClient
from agent_framework.foundry import FoundryAgent
from azure.identity import AzureCliCredential
client = FoundryAgentClient(
client = FoundryAgent(
project_endpoint="https://your-project.services.ai.azure.com",
agent_name="my-prompt-agent",
agent_version="1",