Skip to content

[Files] Add pagination convenience methods for OpenAIFileClient.GetFiles #987

@ShivangiReja

Description

@ShivangiReja

The latest spec updates GetFiles from non-paginating to paginating by adding three optional parameters: limit (long?), order (string), after (string)

  • Add support for pagination convenience methods for OpenAIFileClient.GetFiles. Convenience methods for GetFiles are GA, so we should introduce new overloads(non-breaking) that expose pagination methods for GetFiles while keeping the current signatures intact.

  • With the v2.9.0 release, paginated protocol-level overloads were added for OpenAIFileClient.GetFiles . Update these protocol methods to return the pagination types(CollectionResult/AsyncCollectionResult)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions