Skip to content

Cap original-detail image token estimates#19865

Merged
fjord-oai merged 1 commit intomainfrom
fjord/max_patches
Apr 27, 2026
Merged

Cap original-detail image token estimates#19865
fjord-oai merged 1 commit intomainfrom
fjord/max_patches

Conversation

@fjord-oai
Copy link
Copy Markdown
Contributor

Clamp original-detail image patch estimates to the current 10k patch budget so large images cannot inflate local context accounting without bound. Add regression coverage for an over-budget image.

Fixes #19806.

Clamp original-detail image patch estimates to the current 10k patch budget so large images cannot inflate local context accounting without bound. Add regression coverage for an over-budget image.\n\nFixes #19806.
@fjord-oai fjord-oai requested a review from a team as a code owner April 27, 2026 19:04
@fjord-oai fjord-oai merged commit 277186e into main Apr 27, 2026
25 checks passed
@fjord-oai fjord-oai deleted the fjord/max_patches branch April 27, 2026 19:39
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 27, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

detail: "original" token/byte estimates are currently unbounded

2 participants