Skip to content

Merging changes from release/9.6 branch #6516

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

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

joperezr
Copy link
Member

@joperezr joperezr commented Jun 11, 2025

Microsoft Reviewers: Open in CodeFlow

joperezr and others added 8 commits June 5, 2025 00:48
Getting ready for th 9.6 release

----
#### AI description  (iteration 1)
#### PR Classification
This PR prepares the repository for the 9.6 release by upgrading dependency versions and refining build pipeline configurations.

#### PR Summary
The PR updates key dependency versions and adjusts pipeline settings to support a stable 9.6 release build.
- `/eng/Version.Details.xml`: Upgraded dependency versions from 9.0.5 to 9.0.6 with corresponding SHA updates.
- `/eng/Versions.props`: Updated version properties for major dependencies (and LTS versions bumped to 8.0.17) while enabling package stabilization and setting DotNetFinalVersionKind to release.
- `/NuGet.config`: Revised package source definitions and disabled package source mappings for internal feeds.
- `/azure-pipelines.yml` & `/eng/pipelines/templates/BuildAndTest.yml`: Removed the CodeCoverage stage and added tasks to set up private feed credentials with integration tests temporarily skipped.
- `/Directory.Build.props`: Suppressed the NU1507 warning for internal branch builds.
<!-- GitOpsUserAgent=GitOps.Apps.Server.pullrequestcopilot -->
…tag (dotnet#6494)

This ports commit 04bd588 into the 9.6 release branch.

See: [Fix name of genai input/output tokens tag (dotnet#6494)](dotnet#6494)
Automated cherry-picks

----
#### AI description  (iteration 1)
#### PR Classification
This PR implements a new OpenAIAssistantChatClient along with updated streaming response handling and enhanced integration tests.

#### PR Summary
This update introduces a new chat client and refines conversation management and error handling for OpenAI responses while expanding test coverage. Key changes include:
- **`src/Libraries/Microsoft.Extensions.AI.OpenAI/OpenAIAssistantChatClient.cs`**: Added a new experimental chat client that integrates with AssistantClient, supports streaming responses, tool result processing, and uses reflection to access internal endpoints.
- **`src/Libraries/Microsoft.Extensions.AI.OpenAI/OpenAIResponseChatClient.cs`**: Updated response streaming logic to correctly propagate conversation IDs, attach raw representations, and improve error handling and role mapping.
- **`src/Libraries/Microsoft.Extensions.AI.OpenAI/OpenAIClientExtensions.cs`**: Introduced an extension method to expose AssistantClient as an IChatClient, enabling direct integration with the new chat client.
- **Test files under `test/Libraries/Microsoft.Extensions.AI.OpenAI.Tests` and related integration tests**: Added and modified tests to validate the new client functionality and updated response behavior.
<!-- GitOpsUserAgent=GitOps.Apps.Server.pullrequestcopilot -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants