Skip to content

Conversation

DeepAQ
Copy link
Member

@DeepAQ DeepAQ commented Oct 21, 2025

Motivation and Context

Fixes #13253 by respecting custom ToolChoice and ParallelToolCallsEnabled options in OpenAIResponseAgent.

Description

Previously, when creating ResponseCreationOptions for OpenAIResponseAgent with kernel plugins, ToolChoice will be set to Auto and ParallelToolCallsEnabled will be set to true regardless of the options provided when creating the agent.

This change fixes the problem by setting the default options only when they are not provided, respecting the custom options.

Contribution Checklist

@DeepAQ DeepAQ requested a review from a team as a code owner October 21, 2025 03:20
@markwallace-microsoft markwallace-microsoft added the .NET Issue or Pull requests regarding .NET code label Oct 21, 2025
@github-actions github-actions bot changed the title Respect custom ToolChoice and ParallelToolCallsEnabled options in OpenAIResponseAgent .Net: Respect custom ToolChoice and ParallelToolCallsEnabled options in OpenAIResponseAgent Oct 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

.NET Issue or Pull requests regarding .NET code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

.Net: Bug: Cannot disable parallel tool calling for OpenAIResponseAgent

2 participants