Skip to content

Conversation

@jeffhandley jeffhandley self-assigned this Oct 21, 2025
@jeffhandley jeffhandley requested a review from a team as a code owner October 21, 2025 19:08
@jeffhandley jeffhandley added the area-ai Microsoft.Extensions.AI libraries label Oct 21, 2025
@jeffhandley jeffhandley requested a review from a team as a code owner October 21, 2025 19:08
@jeffhandley jeffhandley force-pushed the jeffhandley/prep-9.10.1 branch from fad6df5 to 29d6926 Compare October 21, 2025 20:33
@jeffhandley jeffhandley requested a review from a team as a code owner October 21, 2025 20:33
jeffhandley and others added 11 commits October 21, 2025 16:38
…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>
@jeffhandley jeffhandley force-pushed the jeffhandley/prep-9.10.1 branch from 4efdede to e2829d7 Compare October 21, 2025 23:41
@jeffhandley jeffhandley force-pushed the jeffhandley/prep-9.10.1 branch from e2829d7 to 3cf6f47 Compare October 21, 2025 23:59
@jeffhandley jeffhandley merged commit df45f65 into dotnet:release/9.10 Oct 22, 2025
6 checks passed
@jeffhandley jeffhandley deleted the jeffhandley/prep-9.10.1 branch October 22, 2025 00:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-ai Microsoft.Extensions.AI libraries

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants