Skip to content

Conversation

@stephentoub
Copy link
Member

@stephentoub stephentoub commented Nov 14, 2025

Microsoft Reviewers: Open in CodeFlow

@stephentoub stephentoub requested a review from a team as a code owner November 14, 2025 00:35
Copilot AI review requested due to automatic review settings November 14, 2025 00:35
@stephentoub stephentoub requested a review from a team as a code owner November 14, 2025 00:35
@github-actions github-actions bot added the area-ai Microsoft.Extensions.AI libraries label Nov 14, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the OpenAI package dependency from version 2.6.0 to 2.7.0 and adapts the codebase to use newly available public APIs.

  • Removes reflection-based workarounds by using new public APIs for reasoning text delta events
  • Adds support for StreamingResponseReasoningTextDeltaUpdate events
  • Includes comprehensive test coverage for the new reasoning text delta functionality

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
eng/packages/General.props Updates OpenAI package version from 2.6.0 to 2.7.0
src/Libraries/Microsoft.Extensions.AI.OpenAI/OpenAIResponsesChatClient.cs Replaces reflection-based workarounds with public API calls for reasoning events, adds Title property for file citations, and removes PartialImageBytes workaround
test/Libraries/Microsoft.Extensions.AI.OpenAI.Tests/OpenAIResponseClientTests.cs Adds comprehensive test for streaming reasoning text delta events

@stephentoub stephentoub merged commit f7c0be9 into dotnet:main Nov 14, 2025
12 of 13 checks passed
@stephentoub stephentoub deleted the openai270 branch November 14, 2025 17:02
jeffhandley pushed a commit to jeffhandley/extensions that referenced this pull request Nov 21, 2025
jeffhandley pushed a commit that referenced this pull request Nov 21, 2025
This was referenced Dec 15, 2025
@github-actions github-actions bot locked and limited conversation to collaborators Dec 15, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-ai Microsoft.Extensions.AI libraries

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants