Skip to content

Allow enforced tail-style pagination#2983

Merged
JordonPhillips merged 1 commit intomainfrom
be-lenient-paginating
Mar 3, 2026
Merged

Allow enforced tail-style pagination#2983
JordonPhillips merged 1 commit intomainfrom
be-lenient-paginating

Conversation

@JordonPhillips
Copy link
Copy Markdown
Contributor

This relaxes the optionality constraint on pagination output tokens to report a DANGER when the output token is required instead of ERROR. While we don't want to encourage these sort of tail-style pagination strategies, we do and have supported them.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@JordonPhillips JordonPhillips requested a review from a team as a code owner March 2, 2026 15:52
@JordonPhillips JordonPhillips requested a review from yefrig March 2, 2026 15:52
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 2, 2026

This pull request does not contain a staged changelog entry. To create one, use the ./.changes/new-change command. For example:

./.changes/new-change --pull-requests "#2983" --type feature --description "Allow enforced tail-style pagination"

Make sure that the description is appropriate for a changelog entry and that the proper feature type is used. See ./.changes/README or run ./.changes/new-change -h for more information.

This relaxes the optionality constraint on pagination output tokens
to report a DANGER when the output token is required instead of
ERROR. While we don't want to encourage these sort of tail-style
pagination strategies, we do and have supported them.
@JordonPhillips JordonPhillips force-pushed the be-lenient-paginating branch from 85c4a65 to ef6bd62 Compare March 2, 2026 15:53
@JordonPhillips JordonPhillips merged commit b7b303d into main Mar 3, 2026
16 checks passed
@JordonPhillips JordonPhillips deleted the be-lenient-paginating branch March 3, 2026 12:35
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