openai / openai-dotnet

The official .NET library for the OpenAI API
https://www.nuget.org/packages/OpenAI
MIT License
1.15k stars 113 forks source link

Update paging APIs to use updated SCM types #105

Closed annelo-msft closed 2 months ago

annelo-msft commented 3 months ago

In System.ClientModel 1.1.0-beta.5, PageableCollection<T> was changed to PageCollection<T> to better align convenience and protocol methods.

This PR upgrades the OpenAI library to SCM 1.1.0-beta.5, and manually implements internal types that will be generated from TypeSpec API specification in the future. Specifically, it:

Types that are intended to be output by the generator have been added in a temporary folder called To.Be.Generated.