You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merged PR 48946: Backport recent M.E.AI changes from main
Several git cherry-picks with no conflicts or manual changes.
----
#### AI description (iteration 1)
#### PR Classification
Backport recent changes from the main branch to the current branch.
#### PR Summary
This pull request backports recent changes related to AI functionalities and tests from the main branch.
- `OpenAIChatClientTests.cs`: Added new tests for image content handling in chat messages.
- `ChatResponseExtensions.cs`: Enhanced content coalescing to handle multiple content types.
- `TextReasoningContent.cs` and `TextReasoningContentTests.cs`: Added new class and corresponding tests for text reasoning content.
- `AIFunctionFactory.cs`: Improved result marshalling logic for async methods.
- `DistributedCachingChatClient.cs`: Updated cache key computation to include messages and options.
<!-- GitOpsUserAgent=GitOps.Apps.Server.pullrequestcopilot -->
Copy file name to clipboardExpand all lines: src/Libraries/Microsoft.Extensions.AI.Abstractions/Utilities/AIJsonUtilities.Defaults.cs
+21-21
Original file line number
Diff line number
Diff line change
@@ -42,30 +42,18 @@ public static partial class AIJsonUtilities
42
42
[UnconditionalSuppressMessage("ReflectionAnalysis","IL2026",Justification="DefaultJsonTypeInfoResolver is only used when reflection-based serialization is enabled")]
0 commit comments