-
Notifications
You must be signed in to change notification settings - Fork 841
Backport Microsoft.Extensions.AI updates for a 9.10.1 release #6943
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
Merged
jeffhandley
merged 12 commits into
dotnet:release/9.10
from
jeffhandley:jeffhandley/prep-9.10.1
Oct 22, 2025
Merged
Backport Microsoft.Extensions.AI updates for a 9.10.1 release #6943
jeffhandley
merged 12 commits into
dotnet:release/9.10
from
jeffhandley:jeffhandley/prep-9.10.1
Oct 22, 2025
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fad6df5 to
29d6926
Compare
MackinnonBuck
approved these changes
Oct 21, 2025
jeffhandley
commented
Oct 21, 2025
..._Qdrant_Aspire.verified/aichatweb/aichatweb.ServiceDefaults/aichatweb.ServiceDefaults.csproj
Outdated
Show resolved
Hide resolved
jozkee
reviewed
Oct 21, 2025
…als in User messages, Make MCP tool call ServerName nullable and remove Headers (dotnet#6881) Extended description a.k.a. timeline of the PR: * Add support for Connector ID * Convert Url to string ServerAddress capable of carrying connector ids * Add AuthorizationToken property since it is now promoted in both OpenAI and Anthropic * Relax McpServerToolCallContent ToolName and ServerName * Create MCP approval responses also with user chat role * Remove HostedMcpServerTool.Headers * Don't return empty content if user message only contains mcp approval response * Update serverAddress documentation * Only ServerName should be optional * Make mcp tool call ServerName ctor arg but nullable and augment mcptool ServerAddress property summary to match the ctor argument.
* Initial plan * Update PackageValidationBaselineVersion to 9.10.0 Co-authored-by: joperezr <13854455+joperezr@users.noreply.github.com> * Adding Compatibility Suppressions file * Fix suppressions file to remove unnecessary items --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: joperezr <13854455+joperezr@users.noreply.github.com> Co-authored-by: Jose Perez Rodriguez <joperezr@microsoft.com>
dotnet#6931) * Update AsOpenAIResponseItems to roundtrip User AIContent ResponseItems For Assistant and Tool messages we're directly roundtripping RawRepresentations that are ResponseItems, but not for User messages. Fix that. * Ensure ordering of AIContent-to-ResponseItem mapping Previously a ResponseItem between two TextContents, for example, would end up being yielded before the text content that came before it. Instead, yield a response item for each group between directly-mapped items. Also fix missing RawRepresentation on McpServerToolApprovalResponseContent.
…ions to not be serialized (dotnet#6935) * Special-case AIContent returned from AIFunctionFactory.Create AIFunctions to not be serialized They'll likely end up being serialized, anyway, by leaf IChatClients, but this gives those IChatClients the opportunity to do something different, such as by treating DataContent differently. * Update XML comments
* doc updates --------- Co-authored-by: Stephen Toub <stoub@microsoft.com>
4efdede to
e2829d7
Compare
e2829d7 to
3cf6f47
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The following PRs are included:
SummarizingChatReducer#6908Microsoft Reviewers: Open in CodeFlow