-
Notifications
You must be signed in to change notification settings - Fork 935
Update Microsoft.Extensions.AI.* packages to 10.1.0 #2735
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Co-authored-by: stephentoub <[email protected]>
There was a problem hiding this 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 |
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.0Microsoft.Extensions.AI.Abstractions: 10.0.1 → 10.1.0Microsoft.Extensions.AI.OpenAI: 10.0.1-preview.1.25571.5 → 10.1.0-preview.1.25608.1Microsoft.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.1Microsoft.Bcl.AsyncInterfaces,Microsoft.Extensions.DependencyInjection.Abstractions,Microsoft.Extensions.Logging.Abstractions: 10.0.0 → 10.0.1Project-Specific Changes
Three HostedAgents samples disable central package management for Docker builds and require explicit version updates:
AgentsInWorkflows.csprojAgentWithTextSearchRag.csprojAgentWithHostedMCP.csprojContribution Checklist
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/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
💡 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.