semantic-kernel
semantic-kernel copied to clipboard
Update Microsoft.Extensions.AI and OpenAI libraries to latest versions
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.