Skip to content

Avoid full image decoding for original-detail context estimates - #59908

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

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

Conversation

@copyberry

@copyberry copyberry Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

Avoid full image decoding for original-detail context estimates

Read inline image dimensions with ImageReader::into_dimensions instead of
loading the full image into memory. Keep the existing patch-based estimate
and fallback when dimensions cannot be read.

Read inline image dimensions with `ImageReader::into_dimensions` instead of
loading the full image into memory. Keep the existing patch-based estimate
and fallback when dimensions cannot be read.

GitOrigin-RevId: fd45eb748ce03134261c867397e1fe46c6023f2d
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/fd45eb748ce03134261c867397e1fe46c6023f2d branch from 7f44cc5 to bbf57ce Compare November 6, 2026 13:18
@copyberry
copyberry Bot merged commit bbf57ce into main Nov 6, 2026
@chatgpt-codex-connector

Copy link
Copy Markdown
Contributor
Codex Review Summary: 🔄 Running

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review 🔄 Running since 2026-11-06T13:18:33.185180Z 7f44cc5 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/fd45eb748ce03134261c867397e1fe46c6023f2d branch November 6, 2026 13:18
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 6, 2026

This branch was previously deployed

1 inactive deployment
issue-triage — bbf57cec Deployed Nov 6, 2026 by jrhorne-boop via Generate label suggestions #61880
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.

2 participants