Skip to content

Fine Tuning: pagination fixes from AOAI#242

Merged
trrwilson merged 1 commit into
mainfrom
user/travisw/ft-pagination-fixes
Sep 4, 2024
Merged

Fine Tuning: pagination fixes from AOAI#242
trrwilson merged 1 commit into
mainfrom
user/travisw/ft-pagination-fixes

Conversation

@trrwilson
Copy link
Copy Markdown
Collaborator

Fine Tuning APIs do not return the same parent pagination cursor information that newer APIs do; there's no last_id on the list response.

Example recorded test traffic (AOAI) for reference

Instead, the "last ID" must be manually retrieved from the last element of the data array, using the id property of that element.

This PR introduces that fix.

@trrwilson trrwilson merged commit 3746723 into main Sep 4, 2024
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.

2 participants