Skip to content
Discussion options

You must be logged in to vote

Hi @skaghzz, thanks for the question.

The Chat Completions API (AzureOpenAIChatClient) has limited support for reasoning content extraction compared to the Responses API. To get full reasoning output (with effort levels and summaries), you should use AzureOpenAIResponsesClient instead.

Here's how to adapt your sample:

from agent_framework.azure import AzureOpenAIResponsesClient
from azure.identity import DefaultAzureCredential

agent = AzureOpenAIResponsesClient(credential=DefaultAzureCredential()).as_agent(
    name="MathHelper",
    instructions="You are a personal math tutor. When asked a math question, "
    "reason over how best to approach the problem and share your thought process.",…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by skaghzz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
python agents Issues related to single agents
2 participants