codex icon indicating copy to clipboard operation
codex copied to clipboard

When editing a previous message (by pressing Esc twice), if the previous message contains images, the images will become invalid (AI cannot see them)

Open jenglong1899 opened this issue 11 months ago • 2 comments

What version of Codex is running?

0.77

What subscription do you have?

plus

Which model were you using?

gpt-5.2-high

What platform is your computer?

Darwin 25.1.0 arm64 arm

What issue are you seeing?

When editing a previous message (by pressing Esc twice), if the previous message contains images, the images will become invalid (AI cannot see them)

What steps can reproduce the bug?

  1. in the first user message, you paste images (my case is: enter some text, enter a space, paste 1 image, enter a space, then paste anther image)
  2. send serveral user messages
  3. press esc twice, then enter esc serveral times to edit the first user message, append "can you see the images that I paste?"
  4. ai will answer "I cant see the image"

What is the expected behavior?

No response

Additional information

No response

jenglong1899 avatar Dec 24 '25 06:12 jenglong1899

@Linde7777 can you please let me know if this still happens on the latest version of Codex CLI (v0.104.0 as of this writing).

fcoury avatar Feb 19 '26 23:02 fcoury

(response from codex)

Closing as likely resolved in the current CLI (verified changes in v0.162.1): #10590 preserves and resubmits remote images on backtrack, and #45579 carries attachments into forks. If editing a prompt still loses an image, please reopen with the current version and whether the image was pasted or loaded from a file.

etraut-openai avatar Oct 12 '26 02:10 etraut-openai