Repository navigation
.NET: Update Microsoft.Extensions.AI to 11.0.0 - #10349
Roger Barreto (rogerbarreto) wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
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.
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
Microsoft.Extensions.AI,Microsoft.Extensions.AI.Abstractions, andMicrosoft.Extensions.AI.OpenAIto 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.Related Issue
Fixes #10296
AI Assistance
AI assistance details: Copilot assisted with dependency analysis, implementation, regression coverage, validation, and this pull request description.
Contribution Checklist
breaking changelabel (or add "[BREAKING]" to the title prefix, before or after any language prefix) — a workflow keeps the label and title prefix in sync automatically.