Repository navigation
Upgrade OpenAI dependency to 2.12.0 - #7608
Conversation
ð Good job! The coverage increased ð
Full code coverage report: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1492107&view=codecoverage-tab |
There was a problem hiding this comment.
Pull request overview
Updates the repoâs OpenAI SDK dependency to v2.12.0 and adapts Microsoft.Extensions.AI.OpenAIâs container-file listing implementation to the SDKâs updated API surface.
Changes:
- Bumped the
OpenAINuGet dependency from2.11.0to2.12.0. - Updated
OpenAIHostedFileClient.ListFilesAsyncto callContainerClient.GetContainerFilesAsyncusing the newContainerFileCollectionOptionsparameter object while preserving the âsingle raw page onlyâ pagination workaround.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| eng/packages/General.props | Updates the centrally-managed OpenAI package version to 2.12.0. |
| src/Libraries/Microsoft.Extensions.AI.OpenAI/OpenAIHostedFileClient.cs | Adjusts container file listing to the new GetContainerFilesAsync(ContainerFileCollectionOptions, âĶ) signature without changing the existing manual paging + raw JSON parsing behavior. |
ð Good job! The coverage increased ð
Full code coverage report: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1492273&view=codecoverage-tab |
ð Good job! The coverage increased ð
Full code coverage report: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1499887&view=codecoverage-tab |
Bumps the
OpenAINuGet package from 2.11.0 to 2.12.0 and fixes the one breaking API change that surfaced.Changes
eng/packages/General.propsâOpenAIversion2.11.0â2.12.0OpenAIHostedFileClient.csâContainerClient.GetContainerFilesAsyncchanged its signature from five flat parameters to aContainerFileCollectionOptionsobject:The other 2.12.0 breaking changes (container type renames,
Conversationsparameter ordering,Responsestype renames) are all in experimental APIs not referenced by this codebase.Microsoft Reviewers: Open in CodeFlow