Skip to content

Update Microsoft.Extensions.AI and OpenAI libraries to latest versions#13325

Closed
stephentoub with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-6154722-607289185-5e53199b-75e7-4a25-bc58-ed01441b0804
Closed

Update Microsoft.Extensions.AI and OpenAI libraries to latest versions#13325
stephentoub with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-6154722-607289185-5e53199b-75e7-4a25-bc58-ed01441b0804

Conversation

Copilot AI commented Nov 3, 2025

Copy link
Copy Markdown
Contributor

Updates Microsoft.Extensions.AI packages and OpenAI SDK to their latest stable/preview releases available on NuGet.

Package Updates

  • Microsoft.Extensions.AI: 9.10.0 → 9.10.2
  • Microsoft.Extensions.AI.Abstractions: 9.10.0 → 9.10.2
  • Microsoft.Extensions.AI.OpenAI: 9.10.0-preview.1.25513.3 → 9.10.2-preview.1.25552.1
  • OpenAI: 2.5.0 → 2.6.0

Known Impact

OpenAI SDK 2.6.0 introduces ref struct types in ChatToolCall.Patch that cannot be serialized by System.Text.Json. This breaks 23 unit tests in Connectors.OpenAI.UnitTests that directly serialize OpenAI SDK types. Runtime functionality is unaffected—the connector does not serialize these internal types in normal operation.

All changes are in dotnet/Directory.Packages.props.

Original prompt

Update the Microsoft.Extensions.AI libraries and the OpenAI library to their latest versions available on nuget.


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
@stephentoub
stephentoub marked this pull request as ready for review November 3, 2025 13:37
@stephentoub
stephentoub requested a review from a team as a code owner November 3, 2025 13:37
@markwallace-microsoft markwallace-microsoft added the .NET Issue or Pull requests regarding .NET code label Nov 3, 2025
@github-actions github-actions Bot changed the title [WIP] Update the Microsoft.Extensions.AI libraries and the OpenAI library to their latest versions available on nuget. .Net: [WIP] Update the Microsoft.Extensions.AI libraries and the OpenAI library to their latest versions available on nuget. Nov 3, 2025
@stephentoub
stephentoub enabled auto-merge November 3, 2025 13:37
Copilot AI changed the title .Net: [WIP] Update the Microsoft.Extensions.AI libraries and the OpenAI library to their latest versions available on nuget. Update Microsoft.Extensions.AI and OpenAI libraries to latest versions Nov 3, 2025
Copilot AI requested a review from stephentoub November 3, 2025 13:42
auto-merge was automatically disabled November 20, 2025 16:28

Pull request was closed

@stephentoub
stephentoub deleted the copilot/fix-6154722-607289185-5e53199b-75e7-4a25-bc58-ed01441b0804 branch November 20, 2025 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

.NET Issue or Pull requests regarding .NET code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants