Skip to content

Update OpenAI to 2.9.1, Azure.AI.OpenAI to 2.9.0-beta.1, Azure.AI.Projects to 2.0.0-beta.2, Microsoft.Extensions.AI* to 10.4.0#13668

Draft
Copilot wants to merge 6 commits intomainfrom
copilot/update-nuget-packages-ai
Draft

Update OpenAI to 2.9.1, Azure.AI.OpenAI to 2.9.0-beta.1, Azure.AI.Projects to 2.0.0-beta.2, Microsoft.Extensions.AI* to 10.4.0#13668
Copilot wants to merge 6 commits intomainfrom
copilot/update-nuget-packages-ai

Conversation

Copy link
Contributor

Copilot AI commented Mar 17, 2026

Motivation and Context

Bumps core AI SDK dependencies to their latest versions to pick up new features and fixes.

Description

Updates the following packages in Directory.Packages.props:

  • OpenAI 2.8.0 → 2.9.1
  • Azure.AI.OpenAI 2.8.0-beta.1 → 2.9.0-beta.1
  • Azure.AI.Projects 1.1.0 → 2.0.0-beta.2
  • Azure.Identity 1.17.1 → 1.19.0 (cascading dependency from Azure.AI.Projects 2.0.0-beta.2)
  • Microsoft.Extensions.AI* 10.3.0 → 10.4.0
  • System.Text.Json, System.Numerics.Tensors, Microsoft.Extensions.Logging.Abstractions, Microsoft.Bcl.AsyncInterfaces, System.Threading.Channels → 10.0.4

Addresses the following breaking changes introduced by OpenAI 2.9.1:

  • CreateInputImagePart BinaryData overload removed (replaced with data URI approach)
  • Realtime API type renames (ConversationToolRealtimeTool, ConversationSessionOptionsRealtimeConversationSessionOptions, etc.)
  • ResponsesClient constructor no longer accepts a model parameter; model is now specified on CreateResponseOptions.Model
  • ResponseResult.Instructions is now read-only

Code changes to adapt:

  • Added ModelId property to OpenAIResponseAgent and propagated it through ResponseCreationOptionsFactory
  • Updated unit tests (BaseOpenAIResponseClientTest, OpenAIResponseAgentExtensionsTests, OpenAIResponseExtensionsTests)
  • Updated integration tests (OpenAIResponseAgentTests, OpenAIResponseAgentFixture)
  • Updated BaseResponsesAgentTest and GettingStartedWithAgents samples
  • Updated AgentFrameworkMigration samples (GetResponsesClient, AsIChatClient, CreateAIAgent, modelId propagation)
  • Rewrote OpenAIRealtime demo for the restructured Realtime API event model

Contribution Checklist


📍 Connect Copilot coding agent with Jira, Azure Boards or Linear to delegate work to Copilot in one click without leaving your project management tool.

Copilot AI and others added 2 commits March 17, 2026 02:00
…MEAI 10.4.0, and cascading deps

Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
- ResponsesClient constructor no longer takes a model parameter
- AzureOpenAIClient.GetResponsesClient() no longer takes an argument
- Model ID is now passed to OpenAIResponseAgent constructor
- CreateClient methods now return (ResponsesClient, string) tuples
- ExecuteAgentAsync/ExecuteStreamingAgentAsync accept modelId parameter

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI and others added 2 commits March 17, 2026 02:58
…Options model, Realtime API renames, unit and integration tests

Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
…tors in migration samples

Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
@stephentoub
Copy link
Member

@copilot please update Azure.AI.Projects* to latest 2.0.0-beta.2

Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Mar 18, 2026

@copilot please update Azure.AI.Projects* to latest 2.0.0-beta.2

Done in c76d1c3. Updated Azure.AI.Projects from 1.1.0 to 2.0.0-beta.2, along with Azure.Identity from 1.17.1 to 1.19.0 (required as a cascading dependency). Full build passes with zero errors.

Copilot AI changed the title Update OpenAI to 2.9.1, Azure.AI.OpenAI to 2.9.0-beta.1, Microsoft.Extensions.AI* to 10.4.0 Update OpenAI to 2.9.1, Azure.AI.OpenAI to 2.9.0-beta.1, Azure.AI.Projects to 2.0.0-beta.2, Microsoft.Extensions.AI* to 10.4.0 Mar 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants