mirror of
https://github.com/openai/codex.git
synced 2026-11-23 23:10:47 +00:00
## Why Large user image attachments can exceed the housekeeper's tool-output budget and prevent it from processing later evidence. ## What changed Strip image attachments and paired local-image labels from user messages before budgeting and serializing review evidence. Preserve captions and their provenance, and skip messages that have only whitespace or no content left after filtering. ## Testing Add a regression test that checks that evidence capture keeps text surrounding a large inline image, skips an image-only message, and advances the cursor past both to include later text. GitOrigin-RevId: afd9f2dac4d787555b37655c6194def6d12d3a46