Skip to content

Add a unified image budget - #37206

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/cb07bff1669a96599fdfd076b3d9ec80f2b6fff7
Aug 6, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/cb07bff1669a96599fdfd076b3d9ec80f2b6fff7

Conversation

@copyberry

@copyberry copyberry Bot commented Aug 6, 2026 •

Copy link
Copy Markdown

Add a unified image budget

What changed

  • Add the gated unified_image_budget feature for models that support original image detail or Responses Lite.
  • Apply one 6,000-pixel, 10,000-patch preprocessing limit regardless of legacy image detail hints.
  • Hide detail controls from view_image and code mode while continuing to accept existing hints for compatibility.
  • Preserve detail-based resizing and tool contracts for unsupported models.

Testing

  • Cover unified resizing limits, Responses Lite, legacy detail hints, unsupported models, and view_image integration in code mode.

## What changed

- Add the gated `unified_image_budget` feature for models that support original image detail or Responses Lite.
- Apply one 6,000-pixel, 10,000-patch preprocessing limit regardless of legacy image detail hints.
- Hide detail controls from `view_image` and code mode while continuing to accept existing hints for compatibility.
- Preserve detail-based resizing and tool contracts for unsupported models.

## Testing

- Cover unified resizing limits, Responses Lite, legacy detail hints, unsupported models, and `view_image` integration in code mode.

GitOrigin-RevId: cb07bff1669a96599fdfd076b3d9ec80f2b6fff7
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/cb07bff1669a96599fdfd076b3d9ec80f2b6fff7 branch from 1a0f08a to 0a0ebb8 Compare August 6, 2026 03:16
@copyberry
copyberry Bot merged commit 0a0ebb8 into main Aug 6, 2026
30 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/cb07bff1669a96599fdfd076b3d9ec80f2b6fff7 branch August 6, 2026 03:17
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 6, 2026

This branch was previously deployed

1 inactive deployment
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.

4 participants