Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix pagination for models #65

Merged
merged 1 commit into from
Nov 7, 2023
Merged

Fix pagination for models #65

merged 1 commit into from
Nov 7, 2023

Conversation

mattt
Copy link
Member

@mattt mattt commented Nov 7, 2023

The Client.listModels() method doesn't pass the specified cursor parameter when fetching models. As a result, you can't enumerate beyond the initial page of results. This PR fixes this by passing the cursor parameter to the underlying fetch method.

@mattt mattt merged commit cca5205 into main Nov 7, 2023
2 checks passed
@mattt mattt deleted the mattt/paginate-models branch November 7, 2023 13:03
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.

None yet

1 participant