Visitar URL original
.NET: Update Microsoft.Extensions.AI to 11.0.0 by rogerbarreto · Pull Request #10349 · microsoft/agent-framework · GitHub
Skip to content

.NET: Update Microsoft.Extensions.AI to 11.0.0 - #10349

Open
Roger Barreto (rogerbarreto) wants to merge 1 commit into
microsoft:feature/dotnet-11-supportfrom
rogerbarreto:issue-10296-dotnet-dependencies
Open

Roger Barreto (rogerbarreto) wants to merge 1 commit into
microsoft:feature/dotnet-11-supportfrom
rogerbarreto:issue-10296-dotnet-dependencies

Conversation

@rogerbarreto

Copy link
Copy Markdown
Member

Motivation & Context

Agent Framework currently pins Microsoft.Extensions.AI packages to 10.11.0. Updating to 11.0.0 allows applications to receive upstream fixes through the framework dependency graph, including the completed streaming image result from HostedImageGenerationTool.

Description & Review Guide

  • What are the major changes? Updates Microsoft.Extensions.AI, Microsoft.Extensions.AI.Abstractions, and Microsoft.Extensions.AI.OpenAI to 11.0.0. Aligns directly required runtime dependencies by target framework and updates two samples with explicit package versions. Adds regression coverage for completed streaming image results when partial image streaming is not configured.
  • What is the impact of these changes? Consumers receive MEAI 11 fixes without application-level overrides. OpenAI remains at 2.14.0 because MEAI.OpenAI 11.0.0 is not runtime-compatible with the experimental streaming API changes in OpenAI 2.15.0. No Agent Framework public API changes are introduced.
  • What do you want reviewers to focus on? Please review the target-specific dependency versions and the streaming image regression scenario.

Related Issue

Fixes #10296

AI Assistance

  • No material AI assistance was used.
  • This is an AI-assisted contribution. I reviewed, understood, and verified all submitted content and accept responsibility for it.

AI assistance details: Copilot assisted with dependency analysis, implementation, regression coverage, validation, and this pull request description.

Contribution Checklist

  • The code builds clean without any errors or warnings
  • All unit tests pass, and I have added new tests where possible
  • The PR follows the Contribution Guidelines
  • This PR links to an agreed issue with no competing open PR, or the Related Issue section documents a trivial-change or repository-automation exception.
  • This is not a breaking change. If it is a breaking change, add the breaking change label (or add "[BREAKING]" to the title prefix, before or after any language prefix) — a workflow keeps the label and title prefix in sync automatically.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

MAF Automated Review — Iteration 1

Result: No findings
Scope: full PR (1 commit(s)): bc8f291995c2
Model: gpt-5.6-sol

Overview

This PR upgrades the central Microsoft.Extensions.AI packages to 11.0.0, aligns target-specific runtime dependencies, updates two standalone samples, and adds a focused streaming-image regression test. The target-framework-specific pins preserve older runtime compatibility, while the new test verifies exactly one final image result and its metadata when no partial-image events are present. The changed standalone samples restore and build with the resulting dependency graphs, and no Critical, High, or Medium defect was established.

Reviewed the supplied pull-request change set across correctness, security/reliability, architecture, and failure behavior.
No publishable findings remained after source verification for this scope.

This branch was successfully deployed

1 active deployment
github-app-auth — bc8f2919 Deployed Nov 13, 2026 by rogerbarreto via team_check #9462
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

.NET Usage: [Issues, PRs], Target: .Net

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant