Backfill chat span request model if it's unknown and response model is avaliable

This commit is contained in:
Tao Chen
2026-05-28 10:18:25 -07:00
Unverified
parent 5d8dd4ea4b
commit da538caabd
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",