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 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?
- 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)
- send serveral user messages
- press esc twice, then enter esc serveral times to edit the first user message, append "can you see the images that I paste?"
- ai will answer "I cant see the image"
What is the expected behavior?
No response
Additional information
No response
@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).
(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.