.Net: Bug: Semantic Kernel Orchestration: ReasoningEffort setting becomes lost when invoking
Describe the bug When involving orchestration, HandOff in my example, ReasoningEffort setting is lost.
To Reproduce Steps to reproduce the behavior:
- Create agent with GPT 5.4 and assign ReasoningEffort as "high"
- Create HandOff orchestration using created agent from step 1
- Invoke orchestration
- Observe HTTP request sent, reasoning_effort field is missing
Expected behavior When using orchestration, I would expect to maintain reasoning level set on the agent, and that it is not lost during orchestration processing.
Screenshots Agent HTTP request without orchestration:
Agent HTTP request with orchestration:
Platform
- Language: C#
- Source: 1.75.0
- AI model: gpt-5.4-mini (version:2026-03-17)
- IDE: Visual Studio 2026 April Release
- OS: Windows 11
Additional context See attached sample code.
I can take this as a focused orchestration settings-preservation fix. I reproduced the root cause on current main: HandoffActor creates a call-level default PromptExecutionSettings containing only FunctionChoiceBehavior, and the existing KernelArguments merge gives that default entry precedence over the agent's derived settings, dropping ReasoningEffort and other connector-specific properties. I plan to clone each configured agent execution setting, override only the handoff-required FunctionChoiceBehavior on the clone, and add a keyless HTTP regression test that asserts reasoning_effort remains in the orchestration request. I searched open and closed PRs by #13935 and ReasoningEffort/orchestration wording and found no implementation.
Update: I found that #13946 already implements this issue's fix, including cloning provider-specific execution settings, preserving agent arguments, and an HTTP regression test for reasoning_effort. It did not appear in the issue timeline or my initial exact searches, but it fully covers the scope I described, so I will not open a duplicate PR. Apologies for the extra claim comment, and thanks to @tejakusireddy for the existing implementation.
This issue is stale because it has been open for 90 days with no activity.