Skip to content

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 -->
@joperezr joperezr merged commit 3d2ddda into dotnet:main Jun 20, 2025
7 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Jul 21, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

4 participants