-
Couldn't load subscription status.
- Fork 610
.NET: Azure.AI.Agents Package Split [WIP] #1657
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: feature-foundry-agents
Are you sure you want to change the base?
.NET: Azure.AI.Agents Package Split [WIP] #1657
Conversation
…/agent-framework into features/feature-foundry-agent/add-new-extensions
There was a problem hiding this 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.AzureAIAgentsproject with support for Azure.AI.Agents integration - Refactoring of
AgentsClientExtensionsto 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 |
dotnet/src/Microsoft.Agents.AI.AzureAIAgents/AgentsClientExtensions.cs
Outdated
Show resolved
Hide resolved
dotnet/src/Microsoft.Agents.AI.AzureAIAgents/AgentsClientExtensions.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this 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.
dotnet/src/Microsoft.Agents.AI.AzureAIAgents/AgentsClientExtensions.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this 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
Modelproperty is being set redundantly. It's already set in the constructornew(model)on line 472, making this assignment unnecessary and potentially confusing.
// Copyright (c) Microsoft. All rights reserved.
dotnet/src/Microsoft.Agents.AI.AzureAIAgents/AgentsClientExtensions.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this 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.
…gent/add-new-extensions
…gent/add-new-extensions
There was a problem hiding this 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
Modelproperty is being set redundantly. It's already initialized in the constructor call on line 474 withnew(model). This assignment is unnecessary and should be removed.
// Copyright (c) Microsoft. All rights reserved.
No description provided.