-
Notifications
You must be signed in to change notification settings - Fork 841
[release/9.10] Prepare 9.10.2 Release #6998
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 10 commits into
dotnet:release/9.10
from
jeffhandley:meai-updates/9.10
Nov 2, 2025
Merged
[release/9.10] Prepare 9.10.2 Release #6998
jeffhandley
merged 10 commits into
dotnet:release/9.10
from
jeffhandley:meai-updates/9.10
Nov 2, 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
…dotnet#6947) * Initial plan * Add support for DefaultValue attribute in AIFunctionFactory - Check for DefaultValueAttribute when determining parameter optionality - Use DefaultValueAttribute value as default when parameter not provided - Add helper methods HasEffectiveDefaultValue and GetEffectiveDefaultValue - Add comprehensive tests for DefaultValue attribute support Co-authored-by: stephentoub <[email protected]> * Add test for DefaultValue attribute precedence over C# default Verify that when both DefaultValue attribute and C# default are present, the DefaultValue attribute takes precedence. Co-authored-by: stephentoub <[email protected]> * Add test for DefaultValue precedence and update gitignore - Add test verifying DefaultValue attribute takes precedence over C# default - Add .nuget directory to gitignore to exclude build artifacts Co-authored-by: stephentoub <[email protected]> * Address PR feedback: consolidate helpers and fix formatting - Revert changes to .gitignore - Fix formatting issues in test file (remove extra blank lines) - Make HasEffectiveDefaultValue and GetEffectiveDefaultValue internal in AIJsonUtilities - Remove duplicate helper methods from AIFunctionFactory and use the ones from AIJsonUtilities Co-authored-by: stephentoub <[email protected]> * Rename parameter 's' to 'text' in test to avoid false positives Use a longer, more descriptive parameter name to avoid false positives when searching for the parameter name in string assertions. Co-authored-by: stephentoub <[email protected]> * Unify helper methods into TryGetEffectiveDefaultValue Replace HasEffectiveDefaultValue and GetEffectiveDefaultValue with a single TryGetEffectiveDefaultValue method to avoid resolving the DefaultValueAttribute multiple times, improving performance. Co-authored-by: eiriktsarpalis <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: stephentoub <[email protected]> Co-authored-by: eiriktsarpalis <[email protected]>
…t#6958) * Add utility for ResponseTool * Adding UT for Utility * Update internals to utility * Update src/Libraries/Microsoft.Extensions.AI.OpenAI/OpenAIResponsesChatClient.cs Co-authored-by: Stephen Toub <[email protected]> * Update src/Libraries/Microsoft.Extensions.AI.OpenAI/MicrosoftExtensionsAIResponsesExtensions.cs Co-authored-by: Stephen Toub <[email protected]> * Update src/Libraries/Microsoft.Extensions.AI.OpenAI/OpenAIResponsesChatClient.cs Co-authored-by: Stephen Toub <[email protected]> * Update src/Libraries/Microsoft.Extensions.AI.OpenAI/OpenAIResponsesChatClient.cs Co-authored-by: Stephen Toub <[email protected]> * Update test to use the AITool extension directly * Improve UT * Add MCP missing UT * Update src/Libraries/Microsoft.Extensions.AI.OpenAI/MicrosoftExtensionsAIResponsesExtensions.cs Co-authored-by: Stephen Toub <[email protected]> --------- Co-authored-by: Stephen Toub <[email protected]>
* Update AI changelogs for 9.10.1 * Update src/Libraries/Microsoft.Extensions.AI.OpenAI/CHANGELOG.md Co-authored-by: Copilot <[email protected]> --------- Co-authored-by: Copilot <[email protected]>
…OpenTelemetry semantic conventions (dotnet#6953) * Initial plan * Add Name property to OtelMessage and populate from ChatMessage.AuthorName Co-authored-by: stephentoub <[email protected]> * Refactor: integrate AuthorName test into existing ExpectedInformationLogged_Async test Co-authored-by: stephentoub <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: stephentoub <[email protected]>
* Fix serialization of UserInputRequest/ResponseContent Serialization of variables typed as UserInputRequestContent / UserInputResponseContent would fail, because JsonSerializer doesn't recognize them as part of a hierarchy. * Update test/Libraries/Microsoft.Extensions.AI.Abstractions.Tests/Contents/UserInputResponseContentTests.cs Co-authored-by: Copilot <[email protected]> * Update test/Libraries/Microsoft.Extensions.AI.Abstractions.Tests/Contents/UserInputResponseContentTests.cs --------- Co-authored-by: Copilot <[email protected]>
* Add CodeInterpreterToolCall/ResultContent content types
- Adds new CodeInterpreterToolCallContent and CodeInterpreterToolResultContent types
- Updates the OpenAI Assistants and Responses IChatClient implementations to produce them
- Updates HostedFileContent with an optional MediaType and Name, matching the corresponding properties on DataContent and UriContent.
- Updates ToChatResponse{Async} coalescing to handle these code interpreter types.
- Updates DataContent's DebuggerDisplay to show text for "text/*" and "application/json" media types.
* Update src/Libraries/Microsoft.Extensions.AI.Abstractions/Contents/CodeInterpreterToolCallContent.cs
Co-authored-by: Roger Barreto <[email protected]>
* Address PR feedback
---------
Co-authored-by: Roger Barreto <[email protected]>
… Responses (dotnet#6960) * Allow ChatOptions.ConversationId to be an OpenAI conversation ID with Responses * Update src/Libraries/Microsoft.Extensions.AI.OpenAI/OpenAIResponsesChatClient.cs Co-authored-by: Copilot <[email protected]> --------- Co-authored-by: Copilot <[email protected]>
* Update to OpenAI 2.6.0
In addition to updating the dependency, it now enables us to do additional things:
- Propagate ChatOptions/EmbeddingGeneratorOptions.ModelID to allow overriding the model per-request.
- Propagate AIContent results of tool invocations using non-string tool results.
- Add support for container file annotations.
- Fixed handling of GetResponse{Streaming}Async to use RequestOptions
- Remove hacky serialization code around ResponseCreationOptions.
A previous PR added HostedFileContent.Name/MediaType, but we missed adding HasTopLevelMediaType (which both DataContent and UriContent have). I had a need for that here, so included it.
* Add more tests based on code coverage gaps
* Fix handling of role in AsChatMessages
stephentoub
approved these changes
Nov 2, 2025
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.
This prepares a 9.10.2 release of the following packages:
The following changes have been merged into the release branch for this release:
Microsoft Reviewers: Open in CodeFlow