Skip to content

Upgrade OpenAI SDK to 2.14.0 - #7761

Open
zxyao145 wants to merge 1 commit into
dotnet:mainfrom
zxyao145:main
Open

zxyao145 wants to merge 1 commit into
dotnet:mainfrom
zxyao145:main

Conversation

@zxyao145

@zxyao145 zxyao145 commented Sep 18, 2026

Copy link
Copy Markdown

Fixes #7760

Bump the OpenAI package from 2.13.0 to 2.14.0. The new release renames GlobalMcpToolCallApprovalPolicy to DefaultMcpToolCallApprovalPolicy (and the GlobalPolicy property to DefaultPolicy), so update the MCP approval-policy mapping in OpenAIResponsesChatClient and the affected tests accordingly.

Also add a streaming regression test for OpenAI-compatible endpoints that serialize a reasoning item's optional "status" property as null instead of omitting it, which previously tore down the SSE stream with ArgumentOutOfRangeException ("Unknown ReasoningStatus value").

Microsoft Reviewers: Open in CodeFlow

Fixes dotnet#7760

Bump the OpenAI package from 2.13.0 to 2.14.0. The new release renames
GlobalMcpToolCallApprovalPolicy to DefaultMcpToolCallApprovalPolicy
(and the GlobalPolicy property to DefaultPolicy), so update the MCP
approval-policy mapping in OpenAIResponsesChatClient and the affected
tests accordingly.

Also add a streaming regression test for OpenAI-compatible endpoints
that serialize a reasoning item's optional "status" property as null
instead of omitting it, which previously tore down the SSE stream with
ArgumentOutOfRangeException ("Unknown ReasoningStatus value").
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Request to upgrade OpenAI library to 2.14.0 to fix bugs in OpenAI 2.13.0

1 participant