mirror of
https://github.com/openai/codex.git
synced 2026-09-10 20:26:47 +00:00
## Why Image preparation can rewrite message content, including replacing images that cannot be processed with model-visible error text. The positional content-kind metadata must stay aligned with those rewrites. ## What changed - Process message images together with their content-kind annotations. - Preserve existing kinds for unchanged and resized content. - Classify failed-image placeholders as `images.preparation_error`. ## Testing - Cover metadata preservation across successful, resized, and failed images. - Verify Responses Lite sends `user.image` and `images.preparation_error` kinds. GitOrigin-RevId: 1be7bcbe47014251019bfff0d826c9dfe3239dec