Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Dec 9, 2025

Motivation and Context

Updates Microsoft.Extensions.AI packages to latest stable versions (10.1.0) from NuGet.

Description

Package Updates

  • Microsoft.Extensions.AI: 10.0.1 → 10.1.0
  • Microsoft.Extensions.AI.Abstractions: 10.0.1 → 10.1.0
  • Microsoft.Extensions.AI.OpenAI: 10.0.1-preview.1.25571.5 → 10.1.0-preview.1.25608.1
  • Microsoft.Extensions.AI.AzureAIInference: Unchanged (10.1.0 not yet published)

Transitive Dependency Updates

The 10.1.0 packages require updated System.* and Microsoft.Extensions.* dependencies:

  • System.Diagnostics.DiagnosticSource, System.Text.Json, System.Threading.Channels: 10.0.0 → 10.0.1
  • Microsoft.Bcl.AsyncInterfaces, Microsoft.Extensions.DependencyInjection.Abstractions, Microsoft.Extensions.Logging.Abstractions: 10.0.0 → 10.0.1

Project-Specific Changes

Three HostedAgents samples disable central package management for Docker builds and require explicit version updates:

  • AgentsInWorkflows.csproj
  • AgentWithTextSearchRag.csproj
  • AgentWithHostedMCP.csproj

Contribution Checklist

  • The code builds clean without any errors or warnings
  • The PR follows the Contribution Guidelines
  • All unit tests pass, and I have added new tests where possible
  • Is this a breaking change? If yes, add "[BREAKING]" prefix to the title of the PR.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • www.nuget.org
    • Triggering command: /home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

Update Microsoft.Extensions.AI.* dependencies to the latest versions on nuget (e.g. 10.1.0)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

@stephentoub stephentoub marked this pull request as ready for review December 9, 2025 21:03
Copilot AI review requested due to automatic review settings December 9, 2025 21:03
@stephentoub stephentoub enabled auto-merge December 9, 2025 21:03
@github-actions github-actions bot changed the title [WIP] Update Microsoft.Extensions.AI dependencies to latest versions .NET: [WIP] Update Microsoft.Extensions.AI dependencies to latest versions Dec 9, 2025
Copilot AI changed the title .NET: [WIP] Update Microsoft.Extensions.AI dependencies to latest versions Update Microsoft.Extensions.AI.* packages to 10.1.0 Dec 9, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates Microsoft.Extensions.AI dependencies from version 10.0.1 to 10.1.0, along with related System.* and Microsoft.Extensions.* packages to version 10.0.1 to satisfy new dependency requirements.

  • Updated core Microsoft.Extensions.AI packages to 10.1.0
  • Updated supporting System.* and Microsoft.Extensions.* dependencies to 10.0.1
  • Updated explicit package versions in HostedAgents sample projects (which disable central package management for Docker compatibility)

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
dotnet/Directory.Packages.props Updates Microsoft.Extensions.AI.* packages to 10.1.0 and related System.* and Microsoft.Extensions.* dependencies to 10.0.1
dotnet/samples/HostedAgents/AgentsInWorkflows/AgentsInWorkflows.csproj Updates explicit Microsoft.Extensions.AI.OpenAI version to 10.1.0-preview.1.25608.1 to match central package version
dotnet/samples/HostedAgents/AgentWithTextSearchRag/AgentWithTextSearchRag.csproj Updates explicit Microsoft.Extensions.AI.OpenAI version to 10.1.0-preview.1.25608.1 to match central package version
dotnet/samples/HostedAgents/AgentWithHostedMCP/AgentWithHostedMCP.csproj Updates explicit Microsoft.Extensions.AI.OpenAI version to 10.1.0-preview.1.25608.1 to match central package version

@stephentoub stephentoub added this pull request to the merge queue Dec 10, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Dec 10, 2025
@stephentoub stephentoub added this pull request to the merge queue Dec 10, 2025
Merged via the queue into main with commit 638fbb5 Dec 10, 2025
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants