Repository navigation
chore(deps): update dependency openai to 2.15.0 - #324
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #324 +/- ##
=======================================
Coverage 92.29% 92.29%
=======================================
Files 256 256
Lines 10927 10927
Branches 2389 2389
=======================================
Hits 10085 10085
Misses 406 406
Partials 436 436 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
renovate
Bot
force-pushed
the
renovate/openai-2.x
branch
28 times, most recently
from
November 10, 2026 09:28
5f34a5d to
2addecd
Compare
renovate
Bot
force-pushed
the
renovate/openai-2.x
branch
22 times, most recently
from
November 17, 2026 08:14
70a6c7d to
4bc30dc
Compare
renovate
Bot
force-pushed
the
renovate/openai-2.x
branch
from
November 17, 2026 12:24
4bc30dc to
1806c73
Compare
This branch has not been deployed
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
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 PR contains the following updates:
2.14.0→2.15.0Release Notes
openai/openai-dotnet (OpenAI)
v2.15.0Compare Source
Acknowledgments
Thank you to our developer community members who helped to make the OpenAI client library better with their contributions to this release:
Features Added
ExtraHighandMaxvalues to theChatReasoningEffortLevelextensible enum.DecisionsClientwith the following methods:CreateDecisionandCreateDecisionAsync.DecisionsPredicateQuestion), which return the probability that a condition is true.DecisionsChoiceQuestion), which select from a fixed set of choices.DecisionsScoreQuestion), which evaluate input against a rubric of score levels.DecisionsUserMessageItem) support input text, images, and JSON.DecisionsAssistantMessageItem) support output text and refusals.DecisionsDeveloperMessageItemandDecisionsSystemMessageItem) support text.PromptCacheKeyandPromptCacheOptionsproperties toDecisionCreationOptions.DecisionsPromptCacheOptionstype with theModeandTimeToLiveproperties.DecisionsPromptCacheBreakpointtype for explicit breakpoints on supported message or tool-output text and image parts.CreateResponseoperations.CreateResponseStreamingAsync.ResponseReasoningContextextensible enum with theAuto,CurrentTurn, andAllTurnsvalues.Contextproperty toResponseReasoningOptions.CreateStreamingResultmethod toResponsesClient, which lets derived clients observe or transform the updates of a streaming response while the returned result keeps sole ownership of that response.ApplyPatchOperationclass hierarchy.ApplyPatchOperationKindextensible enum.Kindproperty toApplyPatchOperation.protected internalconstructor toApplyPatchOperationthat takes aApplyPatchOperationKindparameter.CodeInterpreterCallOutputclass hierarchy.CodeInterpreterCallOutputKindextensible enum.Kindproperty toCodeInterpreterCallOutput.protected internalconstructor toCodeInterpreterCallOutputthat takes aCodeInterpreterCallOutputKindparameter.CodeInterpreterToolContainerConfigurationclass hierarchy.CodeInterpreterToolContainerConfigurationKindextensible enum.Kindproperty toCodeInterpreterToolContainerConfiguration.protected internalconstructor toCodeInterpreterToolContainerConfigurationthat takes aCodeInterpreterToolContainerConfigurationKindparameter.ComputerCallOutputclass hierarchy.ComputerCallOutputKindextensible enum.Kindproperty toComputerCallOutput.protected internalconstructor toComputerCallOutputthat takes aComputerCallOutputKindparameter.ReasoningSummaryPartclass hierarchy.ReasoningSummaryPartKindextensible enum.Kindproperty toReasoningSummaryPart.protected internalconstructor toReasoningSummaryPartthat takes aReasoningSummaryPartKindparameter.WebSearchActionclass hierarchy.WebSearchActionKindextensible enum.Kindproperty toWebSearchAction.protected internalconstructor toWebSearchActionthat takes aWebSearchActionKindparameter.WebSearchActionSourceclass hierarchy.WebSearchActionSourceKindextensible enum.Kindproperty toWebSearchActionSource.protected internalconstructor toWebSearchActionSourcethat takes aWebSearchActionSourceKindparameter.WebSearchToolLocationclass hierarchy.WebSearchToolLocationKindextensible enum.Kindproperty toWebSearchToolLocation.protected internalconstructor toWebSearchToolLocationthat takes aWebSearchToolLocationKindparameter.Bugs Fixed
CreateThreadAndRunprotocol method ofAssistantClientdiscarded the caller'sRequestOptions. This caused the synchronousCreateThreadAndRunconvenience method to ignore itsCancellationToken. The asynchronous methods were not affected.CreateThreadAndRunandCreateThreadAndRunStreamingAsyncmethods ofAssistantClientthrew aNullReferenceExceptionwhen the optionalthreadOptionsparameter was omitted.EndIndexproperty ofTextAnnotationUpdatereturned the start index for streamed text annotations of a type that the library does not model.ModifyAssistantprotocol method ofAssistantClientwould incorrectly discard itsCancellationToken.JsonPatchvalues for message content and content-part properties were emitted alongside modeled values as duplicate JSON properties instead of taking precedence.ChatResponseFormatto honor root-levelJsonPatchvalues.Other Changes
gen_ai.client.token.usagewith the current OpenTelemetry inference usage counters and per-operation token histograms whenOTEL_SEMCONV_STABILITY_OPT_INincludesgen_ai_latest_experimental. Counters include token modality and available cache and reasoning subsets. The default semantic convention mode remains unchanged.gen_ai.client.token.usagewith the current OpenTelemetry inference usage counters and per-operation token histograms whenOTEL_SEMCONV_STABILITY_OPT_INincludesgen_ai_latest_experimental. Counters include token modality and available cache and reasoning subsets. The default semantic convention mode remains unchanged.Breaking Changes in Experimental APIs
optionsparameter of the constructors ofAssistantClientfromOpenAIClientOptionsto the functionally-equivalentAssistantClientOptions.Task<AsyncStreamingResult<T>>instead ofAsyncCollectionResult<T>. Awaiting the call sends the request and completes once the service response is established, so itsStatus,ReasonPhrase, andHeadersare available before the updates are read. The result can be enumerated once and owns the response; enumerate it to completion or dispose it to release the connection. The synchronous counterparts have been removed:CreateRunStreaming,CreateThreadAndRunStreaming, andSubmitToolOutputsToRunStreamingmethods of theAssistantClient; use the corresponding*Asyncmethods instead.Task<AsyncStreamingResult<T>>instead ofAsyncCollectionResult<T>. Awaiting the call sends the request and completes once the service response is established, so itsStatus,ReasonPhrase, andHeadersare available before the updates are read. The result can be enumerated once and owns the response; enumerate it to completion or dispose it to release the connection. The synchronous counterparts have been removed:GenerateSpeechStreamingandTranscribeAudioStreamingmethods of theAudioClient; use the corresponding*Asyncmethods instead.optionsparameter of the constructors ofBatchClientfromOpenAIClientOptionsto the functionally-equivalentBatchClientOptions.optionsparameter of the constructors ofContainerClientfromOpenAIClientOptionsto the functionally-equivalentContainerClientOptions.optionsparameter of the constructors ofConversationClientfromOpenAIClientOptionsto the functionally-equivalentConversationClientOptions.optionsparameter of the constructors ofEvaluationClientfromOpenAIClientOptionsto the functionally-equivalentEvaluationClientOptions.optionsparameter of the constructors ofFineTuningClientfromOpenAIClientOptionsto the functionally-equivalentFineTuningClientOptions.optionsparameter of the constructors ofGraderClientfromOpenAIClientOptionsto the functionally-equivalentGraderClientOptions.RealtimeClientandRealtimeSessionClientare now async-only. The synchronous service and session operations they previously exposed (session and client-secret creation, sending commands and audio, receiving updates, session configuration, and conversation item helpers) have been removed, along with the underlying synchronous connection path. Use the corresponding*AsyncAPIs instead.Task<AsyncStreamingResult<T>>instead ofAsyncCollectionResult<T>. Awaiting the call sends the request and completes once the service response is established, so itsStatus,ReasonPhrase, andHeadersare available before the updates are read. The result can be enumerated once and owns the response; enumerate it to completion or dispose it to release the connection. The synchronous counterparts have been removed:CreateResponseStreamingandGetResponseStreamingmethods of theResponsesClient; use the corresponding*Asyncmethods instead.optionsparameter of the constructors ofSkillClientfromOpenAIClientOptionsto the functionally-equivalentSkillClientOptions.optionsparameter of the constructors ofVectorStoreClientfromOpenAIClientOptionsto the functionally-equivalentVectorStoreClientOptions.optionsparameter of the constructors ofVideoClientfromOpenAIClientOptionsto the functionally-equivalentVideoClientOptions.Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.