8b4f7d5e29
.NET: [Breaking] Introduce RunCoreAsync/RunCoreStreamingAsync delegation pattern in AIAgent ( #2749 )
...
* Initial plan
* Refactor AIAgent: Make RunAsync and RunStreamingAsync non-abstract, add RunCoreAsync and RunCoreStreamingAsync
Co-authored-by: SergeyMenshykh <68852919+SergeyMenshykh@users.noreply.github.com >
* Fix infinite recursion in test implementations
Co-authored-by: SergeyMenshykh <68852919+SergeyMenshykh@users.noreply.github.com >
* Make RunAsync and RunStreamingAsync non-virtual as requested
Co-authored-by: SergeyMenshykh <68852919+SergeyMenshykh@users.noreply.github.com >
* Fix DelegatingAIAgent subclasses to use RunCoreAsync/RunCoreStreamingAsync
Co-authored-by: SergeyMenshykh <68852919+SergeyMenshykh@users.noreply.github.com >
* Fix XML documentation references in AnonymousDelegatingAIAgent
Co-authored-by: SergeyMenshykh <68852919+SergeyMenshykh@users.noreply.github.com >
* Restore <see cref> tags with proper qualified signatures in AnonymousDelegatingAIAgent
Co-authored-by: SergeyMenshykh <68852919+SergeyMenshykh@users.noreply.github.com >
* Rollback unnecessary XML documentation changes in AnonymousDelegatingAIAgent
Co-authored-by: SergeyMenshykh <68852919+SergeyMenshykh@users.noreply.github.com >
* Remove pragma and update crefs to RunCoreAsync/RunCoreStreamingAsync
Co-authored-by: SergeyMenshykh <68852919+SergeyMenshykh@users.noreply.github.com >
* Fix EntityAgentWrapper to call base.RunCoreAsync/RunCoreStreamingAsync
Co-authored-by: SergeyMenshykh <68852919+SergeyMenshykh@users.noreply.github.com >
* fix compilation issues
* fix compilatio issue
* fix tests
* fix unit tests
* fix unit test
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: SergeyMenshykh <68852919+SergeyMenshykh@users.noreply.github.com >
Co-authored-by: SergeyMenshykh <sergemenshikh@gmail.com >
Co-authored-by: Chris <66376200+crickman@users.noreply.github.com >
2025-12-30 12:24:09 +00:00
SergeyMenshykh and GitHub
989b6ebe71
.NET: [BREAKING] Prevent nulls in AIAgent property ( #2719 )
...
* prevent nulls in AIAgent property
* address feedback
2025-12-11 09:50:25 +00:00
9c2e800189
Remove unnecessary PackageReferences after .NET 10 update ( #2394 )
...
Co-authored-by: SergeyMenshykh <68852919+SergeyMenshykh@users.noreply.github.com >
2025-12-04 00:09:51 +00:00
westey and GitHub
b6c3b8d3f2
[BREAKING] Remove NotifyThreadOfNewMessagesAsync AIAgent helper ( #2450 )
...
* Remove NotifyThreadOfNewMessagesAsync helper from AIAgent
* Fix bug
* Update comment
2025-11-25 11:59:26 +00:00
SergeyMenshykh and GitHub
a89c15d6e6
.NET: Change type of props representing continuation token ( #2430 )
...
* change type of props representing continuation token
* use explict cast instead of the as operator
2025-11-25 09:59:43 +00:00
Stephen Toub and GitHub
a116edaf5a
Update to latest MEAI 10.0.1 and OpenAI 2.7.0 ( #2392 )
2025-11-24 13:51:27 +00:00
Stephen Toub and GitHub
dc2b109b50
.NET: Upgrade to .NET 10 ( #2128 )
...
* Upgrade to .NET 10
- Require .NET 10 SDK
- Include net10.0 assets in all assemblies
- Move net9.0-only targets to net10.0
- Update LangVersion to latest
- Remove complicated distinctions between debug target TFMs and release target TFMs
- Remove unnecessary package dependencies when built into netcoreapp
- Clean up some ifdefs
- Clean up some analyzer warnings
* Fix CI
2025-11-22 04:14:15 +00:00
westey and GitHub
f273ca7353
Fix InMemoryChatMessageStore serialization bug. ( #2185 )
2025-11-13 15:43:01 +00:00
180f82373b
.NET: Allow extending agent run options via additional properties ( #1872 )
...
* Allow extending agent run options via additional properties
This mirrors the M.E.AI model in ChatOptions.AdditionalProperties which is very useful when building functionality pipelines.
Fixes https://github.com/microsoft/agent-framework/issues/1815
* Expand XML documentation
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Add AdditionalProperties tests to AgentRunOptions
Co-authored-by: kzu <169707+kzu@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: kzu <169707+kzu@users.noreply.github.com >
2025-11-11 20:00:59 +00:00
820c6afe09
.NET: Fix the ordering of chained resolvers in JsonSerializerOptions ( #1974 )
...
* Fix the ordering of chained resolvers in JsonSerializerOptions
We want the resolvers from AIJsonUtilities to be used before the ones from the source generator, in case the source generator emits its own copy in that assembly for the M.E.AI types.
* Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update dotnet/src/Microsoft.Agents.AI/AgentJsonUtilities.cs
* Update dotnet/src/Microsoft.Agents.AI.Mem0/Mem0JsonUtilities.cs
Co-authored-by: westey <164392973+westey-m@users.noreply.github.com >
* Remove unused using directive in Mem0JsonUtilities
Removed unused using directive for Microsoft.Extensions.AI.
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: westey <164392973+westey-m@users.noreply.github.com >
2025-11-06 22:23:37 +00:00
westey and GitHub
fb7086b2e0
.NET: [BREAKING] Fix issue where AIContextProvider messages were not added to MessageStores ( #1788 )
...
* Fix issue where AIContextProvider messages were not added to MessageStores
* Fix typos
* Update XML docs to reduce ambiguity.
* Update AIContext XML docs
* Fix merge issue
2025-10-30 11:55:48 +00:00
1bf520a7c2
.NET: Add support for background responses ( #1501 )
...
* add support for background responses
* Update dotnet/src/Microsoft.Agents.AI.Abstractions/AgentRunResponseUpdate.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* fix broken link
* fix xml comments and background responses properties override funcitonity
* change ai model provider
* use Run{Streaming}Async overloads that don't require messages
* stop using m: prefix in cref attribute of <see/> element.
* reject input messages provided with continuation token + don't extract messages from message store and context provide if continuation token is provided
* use agent thread for background-responses sample
* require agent thread for background responses
* Update dotnet/src/Microsoft.Agents.AI/ChatClient/ChatClientAgent.cs
Co-authored-by: Roger Barreto <19890735+rogerbarreto@users.noreply.github.com >
* Update dotnet/src/Microsoft.Agents.AI/ChatClient/ChatClientAgent.cs
Co-authored-by: Roger Barreto <19890735+rogerbarreto@users.noreply.github.com >
* remove CA1200
* Update dotnet/src/Microsoft.Agents.AI.Abstractions/AgentRunOptions.cs
Co-authored-by: westey <164392973+westey-m@users.noreply.github.com >
* Update dotnet/src/Microsoft.Agents.AI.Abstractions/AgentRunResponse.cs
Co-authored-by: westey <164392973+westey-m@users.noreply.github.com >
* Update dotnet/src/Microsoft.Agents.AI.Abstractions/AgentRunResponse.cs
Co-authored-by: westey <164392973+westey-m@users.noreply.github.com >
* address pr review comments
* Update dotnet/samples/GettingStarted/Agents/Agent_Step17_BackgroundResponses/Program.cs
Co-authored-by: westey <164392973+westey-m@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: Roger Barreto <19890735+rogerbarreto@users.noreply.github.com >
Co-authored-by: westey <164392973+westey-m@users.noreply.github.com >
2025-10-22 17:43:57 +00:00
westey and GitHub
e7a9128138
Force source generation tests in .net core ( #1298 )
2025-10-17 14:58:50 +00:00
ab450078ab
Update to M.E.AI 9.10 ( #1461 )
...
And other System.*/Microsoft.Extensions.* updated today
Co-authored-by: SergeyMenshykh <68852919+SergeyMenshykh@users.noreply.github.com >
2025-10-15 08:33:33 +00:00
Stephen Toub and GitHub
959e5842c2
Removing duplicating update coalescing logic in AgentRunResponseExtensions ( #1169 )
2025-10-07 13:42:01 +00:00
westey and GitHub
3ee7461b59
Fix createdAt merging for agent run updates ( #1161 )
2025-10-03 16:04:06 +00:00
Stephen Toub and GitHub
3ae9065b6b
Tweak AgentAbstractionsJsonUtilities to better match AIJsonUtilities ( #1094 )
...
Functional change includes setting the encoder used by the options and employing JsonStringEnumConverter.
2025-10-02 05:19:27 +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
westey and GitHub
bf5931932e
.NET: Make serialize methods sync and rename one to match others. ( #946 )
...
* Make serialize methods sync and rename one to match others.
* Remove unnecessary async postfixes.
* Remove nullability of ChatMessageStore.Serialize return type, since the default JsonElement already represents an undefined json element.
* Fix unit test
2025-09-29 09:32:01 +00:00
Aditya Mandaleeka and GitHub
28ad256931
.NET: Change Runtime namespaces to Microsoft.Agents.AI.Runtime ( #957 )
...
* Rename MEAI.Runtime to MAAI.Runtime.
* Missed.
2025-09-27 06:10:14 +00:00
32e054f1fe
Rename AI Agent packages to use Microsoft.Agents.AI ( #913 )
...
* Rename AI Agent packages to use Microsoft.Agents.AI
* Fix for build
* Fix formatting
* Fix formatting
* Ignore in VSTHRD200 in migration samples
* Ignore in VSTHRD200 in migration samples
* Add some missing projects and run format
* Fix build errors
* Address code review feedback
* Fix merge issues
---------
Co-authored-by: Mark Wallace <markwallace@microsoft.com >
2025-09-25 19:31:25 +00:00