Skip to content

Conversation

@rogerbarreto
Copy link
Member

@rogerbarreto rogerbarreto commented Oct 23, 2025

No description provided.

Copilot AI review requested due to automatic review settings October 23, 2025 11:23
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 introduces a new Microsoft.Agents.AI.AzureAIAgents project that provides integration with Azure AI Agents services. The changes refactor existing extension methods to work with the new AgentsClient API while introducing a new AzureAIAgent implementation that wraps the chat client agent functionality.

Key changes include:

  • Creation of the new Microsoft.Agents.AI.AzureAIAgents project with support for Azure.AI.Agents integration
  • Refactoring of AgentsClientExtensions to simplify agent creation by extracting common logic and removing obsolete methods
  • Updates to package references and NuGet configuration to support the new Azure AI Agents SDK

Reviewed Changes

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

Show a summary per file
File Description
dotnet/tests/OpenAIResponse.IntegrationTests/OpenAIResponseFixture.cs Simplified object instantiation using target-typed new expression
dotnet/src/Microsoft.Agents.AI.AzureAIAgents/Microsoft.Agents.AI.AzureAIAgents.csproj Added new project file defining the AzureAIAgents library configuration
dotnet/src/Microsoft.Agents.AI.AzureAIAgents/AzureAIAgent.cs Introduced new AzureAIAgent class that wraps chat client functionality with Azure AI Agents integration
dotnet/src/Microsoft.Agents.AI.AzureAIAgents/AgentsClientExtensions.cs Refactored extension methods to use new Azure AI Agents API, simplified agent creation logic
dotnet/src/Microsoft.Agents.AI.AzureAI/Microsoft.Agents.AI.AzureAI.csproj Updated package references to align with new Azure AI Agents SDK
dotnet/nuget.config Added Azure SDK PR feed for accessing preview Azure.AI.Agents package
dotnet/agent-framework-dotnet.slnx Added the new AzureAIAgents project to the solution

@rogerbarreto rogerbarreto changed the title .NET: Azure.AI.Agents WIP .NET: Azure.AI.Agents Package Split Oct 23, 2025
Copilot AI review requested due to automatic review settings October 23, 2025 11:38
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

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

Copilot AI review requested due to automatic review settings October 23, 2025 13:20
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

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

Comments suppressed due to low confidence (1)

dotnet/src/Microsoft.Agents.AI.AzureAIAgents/AzureAIAgent.cs:1

  • The Model property is being set redundantly. It's already set in the constructor new(model) on line 472, making this assignment unnecessary and potentially confusing.
// Copyright (c) Microsoft. All rights reserved.

Copilot AI review requested due to automatic review settings October 23, 2025 14:32
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

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

Comments suppressed due to low confidence (1)

dotnet/src/Microsoft.Agents.AI.AzureAIAgents/AzureAIAgentChatClient.cs:1

  • The Model property is being set redundantly. The constructor of PromptAgentDefinition already takes the model parameter, so line 476 should be removed.
// Copyright (c) Microsoft. All rights reserved.

@rogerbarreto rogerbarreto marked this pull request as draft October 23, 2025 19:49
@rogerbarreto rogerbarreto changed the title .NET: Azure.AI.Agents Package Split .NET: Azure.AI.Agents Package Split [WIP] Oct 23, 2025
Copilot AI review requested due to automatic review settings October 24, 2025 10:24
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

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

Comments suppressed due to low confidence (1)

dotnet/src/Microsoft.Agents.AI.AzureAIAgents/AzureAIAgentChatClient.cs:1

  • The Model property is being set redundantly. It's already initialized in the constructor call on line 474 with new(model). This assignment is unnecessary and should be removed.
// Copyright (c) Microsoft. All rights reserved.

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.

2 participants