Skip to content

Conversation

@rogerbarreto
Copy link
Member

@rogerbarreto rogerbarreto commented Sep 5, 2025

Motivation and Context

Following the recommendation in the issue

Sounds reasonable the full removal of the extensions to address ambiguity between. AgentRunOptions and ChatOptions.

Interstingly enough, the extensions where not being used anywhere in the code, which makes the case stronger for removal.

@rogerbarreto rogerbarreto self-assigned this Sep 5, 2025
Copilot AI review requested due to automatic review settings September 5, 2025 12:30
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR removes extension methods for ChatClientAgent to address ambiguity between AgentRunOptions and ChatOptions parameters, following recommendation from issue #521.

  • Complete removal of ChatClientAgentExtensions class and its extension methods
  • Deletion of all corresponding unit tests for the extension methods

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
ChatClientAgentExtensions.cs Removes entire extensions class with RunAsync and RunStreamingAsync methods
ChatClientAgentExtensionsTests.cs Removes all unit tests that were validating the extension methods

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@rogerbarreto rogerbarreto added this pull request to the merge queue Sep 5, 2025
Merged via the queue into microsoft:main with commit 8d13809 Sep 5, 2025
15 checks passed
ReubenBond pushed a commit to ReubenBond/agent-framework that referenced this pull request Oct 28, 2025
Arturo-Quiroga-MSFT pushed a commit to Arturo-Quiroga-MSFT/agent-framework-public that referenced this pull request Nov 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

.NET: Passing ChatClientAgent specific run options

3 participants