958e6d27ce
.NET: Improve unit test coverage for Microsoft.Agents.AI.OpenAI ( #3349 )
...
* Initial plan
* Add unit tests for Microsoft.Agents.AI.OpenAI to improve code coverage
Co-authored-by: rogerbarreto <19890735+rogerbarreto@users.noreply.github.com >
* Address code review feedback: remove unused using directives
Co-authored-by: rogerbarreto <19890735+rogerbarreto@users.noreply.github.com >
* Fix format issues: file encoding and remove unused using directives
Co-authored-by: rogerbarreto <19890735+rogerbarreto@users.noreply.github.com >
* Fix redundant cast error by using named parameter
Co-authored-by: rogerbarreto <19890735+rogerbarreto@users.noreply.github.com >
* Remove excessive inline comments per PR review feedback
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: rogerbarreto <19890735+rogerbarreto@users.noreply.github.com >
2026-01-22 16:48:52 +00:00
westey and GitHub
3ec881509c
.NET: Delete sync extension methods for agent ( #3291 )
...
* Delete sync extension methods for agent
* Fix comments and obsolete attribute
* Remove more sync methods.
* Fix naming and comments.
* Fix unit tests
2026-01-20 11:24:58 +00:00
Dmytro Struk and GitHub
2ab859dd94
.NET: [BREAKING] Renamed CreateAIAgent/GetAIAgent to AsAIAgent ( #3222 )
...
* Renamed chat client extension method
* Additional renaming
* Updated documentation
* Fixed tests
* Small fix
* Small fix
2026-01-15 16:01:15 +00:00
SergeyMenshykh and GitHub
69225b4aa2
.NET: [BREAKING] Change namespaces of the Microsoft.Agents.AI.OpenAI classes ( #2627 )
...
* change namespaces for agents and extension methods of the Microsoft.Agents.AI.OpenAI package
* remove unnecessary namespace
* remove unused namespaces
* fix compilation issues and rrolled back removed run methods
* sort usings
* add extension methods for AIAgent to work with OpenAI Responses primitives
* Move OpenAIChatClientAgent and OpenAIResponseClientAgent to samples
* sort usings
* sort usings
2025-12-09 12:58:44 +00:00
9c1b2f9a3f
.NET: Annotate all public methods of OpenAIAssistantClientExtensions with Obsolete attribute ( #2640 )
...
* Initial plan
* Add Obsolete attribute to all public methods of OpenAIAssistantClientExtensions
Co-authored-by: SergeyMenshykh <68852919+SergeyMenshykh@users.noreply.github.com >
* Add pragma warning disable CS0618 to files using deprecated OpenAI Assistants API
Co-authored-by: SergeyMenshykh <68852919+SergeyMenshykh@users.noreply.github.com >
* Update Obsolete attribute message to use requested text
Co-authored-by: SergeyMenshykh <68852919+SergeyMenshykh@users.noreply.github.com >
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: SergeyMenshykh <68852919+SergeyMenshykh@users.noreply.github.com >
2025-12-05 12:27:48 +00:00
6232dd8305
.NET [Breaking] Simplify and Refactor ChatclientAgentOptions Ctor + Instructions ( #1517 )
...
* Point AgentOptions.Instructions to ChatOptions
* Update tests and checks
* Update xml docs
* Removal of agentOptions.Instructions in favor of chatOptions.Instructions
* Instructions and tool check consistency
* Instructions and tool check consistency
* Address comment
* Update .github/upgrades/prompts/SemanticKernelToAgentFramework.md
Co-authored-by: westey <164392973+westey-m@users.noreply.github.com >
* Address PR Comment
* Update latest changes to comply with the PR proposal
* Address feedback
* Update dotnet/tests/Microsoft.Agents.AI.UnitTests/ChatClient/ChatClientAgentTests.cs
Co-authored-by: westey <164392973+westey-m@users.noreply.github.com >
* Address instructions
* Update declarative to use promptAgent.Instrucitons with chatOptions.Instructions
---------
Co-authored-by: westey <164392973+westey-m@users.noreply.github.com >
Co-authored-by: Mark Wallace <127216156+markwallace-microsoft@users.noreply.github.com >
2025-12-03 13:39:47 +00:00
Roger Barreto and GitHub
8ae33d3c2b
Address gap IServiceProvider options ( #2551 )
2025-12-01 20:01:13 +00:00
westey and GitHub
54c3eb726a
.NET: Add support for getting and creating Assistant and Foundry agents with ChatClientAgentOptions ( #1304 )
...
* Add support for getting and creating Assistant and Foundry agents with ChatClientAgentOptions
* Fix options cloning and agent creation
* Fix inconsistency
* Add support for mapping more tools and integration tests for ensuring CreateAIAgent works with those tools.
* Add support for additional openai tools with tests.
* Remove special casing for function tools, since it's either not supported yet, or requires a lot of code duplication.
* Removed unused using.
* Fix broken unit tests
* Change integration test to reduce flakiness.
2025-10-16 15:39:48 +00:00
a414461570
.NET: Re-enable ImplicitUsings in samples and clean up NoWarns ( #1060 )
...
* Re-enable ImplicitUsings in samples and clean up NoWarns
* Fix dotnet format
* More dotnet format
* More dotnet format
---------
Co-authored-by: Chris <66376200+crickman@users.noreply.github.com >
2025-10-01 19:37:03 +00:00
7a8b456294
.NET: Add Agent Filtering Middleware ( #478 )
...
* WIP
* Wip
* Updated ADR
* Updated ADR
* Update files
* Address copilot comments
* Update filters from Task<T> to Task only
* Project endpoint
* Add agent ctor filter
* Other Agent Framework investigation
* Remove SK Java, no support
* Update LlamaIndex info
* Removing unrelated files
* Implementation with specialization
* Remove the specialization option as extra unecessary complexity
* Move middleware responsibility to a decorator
* Update readme
* Function invocation wip
* Add Agent Builder
* Adding comparison samples
* Reorganize Samples and Processor vs Decorator
* Remove merge files
* Address formating warnigs
* Update ADR
* Step13 README's update
* Address PR feedback
* Address PR feedback
* Remove configure await from ADR samples
* Update variables
* Address feedback
* Address Agent level tool invocation with Options.ToolsTransformer strategy
* Removing the Processor approach
* Proposal design for Middleware in CreateAIAgent extensions
* Examples clean up and consolitation
* Update middlewares to work with ApprovalREquiredFunction
* Clean-up sample
* Update override function call sample
* Drop configuration from the extensions, looks overkill
* Builder interface ..
* Revert IAIBuilder interface approach
* Cleanup sample
* Adding unit tests
* Fix UT
* Cleanup sample
* Remove unneeded dependency
* Address PR comment + Readme Samples
* Add missing comments for Program.cs Middleware
* Address mor PR comments + add client factory for OpenAI extensions
* Add OpenAI UnitTests for extensions
* Add AzureAI PersistentChatClient UT
* Addess feedback
* Add function invoking UT
* Add builder extension UT
* Address feedback + Rearange abstractions + UT fixes
* Drop context based middleware for full decorating impl
* Update unit tests
* Update UT coverage
* Removing Middelware namespace
* Add missing UT
* Remove internal ToolTransformation Property
* Adjust xmldoc
* Remove transient file
* Address merge conflict
* Add xmldoc remark for clarity
* Address comment
* Address feedback
* Update UT
---------
Co-authored-by: Chris <66376200+crickman@users.noreply.github.com >
2025-09-29 17:58:04 +00:00