.NET: [Bug]: Cannot set ReasoningEffort on gpt-5.6-luna
Maintainers usually reply within 1 day
@westey-m is already working on this.
Since Sep 18, 2026.
Assessment
This issue has not been assessed yet.
Description
Description
I created a HarnessAgent backed by a gpt-5.6-luna deployment on Foundry.
After I set the ReasoningOptions, I started getting 400 responses from the Foundry service.
Code Sample
I use the ChatClient from the Aspire Azure OpenAI integration:
var azureOpenAIDeploymentName = builder.Configuration["AzureOpenAI:DeploymentName"];
builder.AddAzureOpenAIClient(connectionName: "openai")
.AddChatClient(azureOpenAIDeploymentName); // model deployment name from Azure AI Foundry
return sp.GetRequiredService<IChatClient>().AsHarnessAgent(new HarnessAgentOptions
{
Name = name,
HarnessInstructions = Instructions,
ChatOptions = new ChatOptions { Tools = tools, Reasoning = new() { Effort = ReasoningEffort.Medium, Output = ReasoningOutput.Summary} },
AIContextProviders = contextProviders,
DisableWebSearch = true,
OpenTelemetrySourceName = GenAiSourceNames.Agents,
});
Error Messages / Stack Traces
HTTP 400 (invalid_request_error: )
Parameter: reasoning_effort
Function tools with reasoning_effort are not supported for gpt-5.6-luna in /v1/chat/completions. To use function tools, use /v1/responses or set reasoning_effort to 'none'.
Package Versions
Microsoft.Agents.AI.Harness: 1.21.0, Aspire.Azure.AI.OpenAI: 13.5.4-preview.1.26464.4
.NET Version
.NET 10.0
Additional Context
The url that Agent Framework calls is:
https://.openai.azure.com/openai/deployments/gpt-5.6-luna/chat/completions?*
It is unclear why the (Azure) OpenAI ChatClient does not use the Responses API instead of the (legacy) Chat Completions API.
- Dominant language
- Python
- Stars
- 13.9k
- Forks
- 2.4k
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 432
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/agent-framework
-
Python: raw-data content mappings lose annotations and attachment metadataPossibly taken @moonbox3 claimed this 6 days ago. Openpython triage
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
microsoft/agent-framework#8632 · 2 comments ·
Maintainers usually reply within 1 day
-
Python: Clarify when to use platformPossibly taken @eavanvalkenburg claimed this 5 days ago. Openpython triage
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
microsoft/agent-framework#8599 · 1 comment ·
Maintainers usually reply within 1 day
-
.NET Compaction - Update docs to refer to `AIContextProvider` deep divePossibly taken A pull request linked to this issue is open or already merged. Open.NET compaction documentation
Difficulty 1/5 Under an hour Newbie friendliness 82/100
microsoft/agent-framework#4629 · 1 comment ·
Maintainers usually reply within 1 day
-
Python: [Bug]: Public stream close does not release delegated provider responsesPossibly taken @eavanvalkenburg claimed this today. Openag-ui python reproduced
microsoft/agent-framework#9099 · 1 comment · 1 assignee ·
Maintainers usually reply within 1 day
-
Python: [Bug]: AZURE_OPENAI_API_VERSION is ignored by the OpenAI clients on the Azure routePossibly taken @eavanvalkenburg claimed this today. Openagents python reproduced
microsoft/agent-framework#9097 · 1 comment · 1 assignee ·
Maintainers usually reply within 1 day
All issues in microsoft/agent-framework
Similar issues
-
needs-human needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
gke-labs/kube-agents#2400 · 1 comment ·
Maintainers usually reply within 1 day
-
Device Details tables: FS/SF columns contradict each other (nfet_01v8 Vt row, pfet_01v8 Idsat row)Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
google/skywater-pdk#450 ·
-
Drained trajectory arrays are overwritten when the sequence buffer is reusedPossibly taken @sylvesterkaczmarek claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
google-deepmind/bsuite#56 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
LearningCircuit/local-deep-research#7206 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
chingu-voyages/V62-tier3-team-33#285 ·
Maintainers usually reply within 1 day