Skip to content

Report prompt image resizing to the model - #37134

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/11dd808b3ad47eac35e9e2f4a4370f85d0122770
Aug 5, 2026
Merged

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

Conversation

@copyberry

@copyberry copyberry Bot commented Aug 5, 2026 •

Copy link
Copy Markdown

Report prompt image resizing to the model

What changed

  • Add the disabled-by-default image_resize_notice feature.
  • When enabled, append a developer message after resized images from user
    messages or tool outputs. The notice identifies each image and reports its
    original and prepared dimensions.
  • Persist notices with new history while avoiding backfilled notices for images
    processed when a session is resumed.

Testing

  • Cover notice placement, image numbering, failed images, user and tool image
    sources, and resumed-session replay.

## What changed

- Add the disabled-by-default `image_resize_notice` feature.
- When enabled, append a developer message after resized images from user
  messages or tool outputs. The notice identifies each image and reports its
  original and prepared dimensions.
- Persist notices with new history while avoiding backfilled notices for images
  processed when a session is resumed.

## Testing

- Cover notice placement, image numbering, failed images, user and tool image
  sources, and resumed-session replay.

GitOrigin-RevId: 11dd808b3ad47eac35e9e2f4a4370f85d0122770
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/11dd808b3ad47eac35e9e2f4a4370f85d0122770 branch from 3a3a35b to fa5d5ae Compare August 5, 2026 18:20
@copyberry
copyberry Bot merged commit fa5d5ae into main Aug 5, 2026
28 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/11dd808b3ad47eac35e9e2f4a4370f85d0122770 branch August 5, 2026 18:21
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 5, 2026

This branch was previously deployed

1 inactive deployment
issue-triage — fa5d5ae0 Deployed Aug 5, 2026 by asmichael via Translate non-English issue #6936
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.

8 participants