Support image attachments in comments on selected response text

Open 💬 0 comments Opened Jul 30, 2026 by z-stefanie

What variant of Codex are you using?

Codex App on Windows (Chinese UI).

What feature would you like to see?

Allow users to attach images in the optional comment composer that appears after selecting text from an assistant response and choosing Add to task.

Current flow:

  1. Select part of an assistant response.
  2. Choose Add to task from the selection toolbar.
  3. The selected text is added as response annotation context.
  4. An Add optional comment composer appears.
  5. The composer accepts text and voice input, but not images.

Expected behavior:

  • Pasting a clipboard image into the optional comment composer attaches it to the response annotation.
  • Dragging and dropping an image, or choosing a local image file, works consistently with the primary task composer.
  • The user can preview and remove an attachment before submitting.
  • The selected response text, optional text comment, and image attachments are submitted together as one piece of task context.
  • Unsupported-image behavior and warnings remain consistent with the primary composer.

This would be useful when the comment refers to visual evidence such as a UI state, error screenshot, diagram, log capture, or before/after comparison. Today the image must be sent separately, which weakens the association between the selected passage and the visual evidence.

Related but not duplicate: #35926 requests image attachments in CLI/TUI request_user_input notes. This request concerns the Codex desktop App's response-annotation flow: select response text → Add to task → Add optional comment.

Additional information

Current UI:

  1. Selection toolbar after selecting response text

<img width="591" height="145" alt="Selection toolbar showing Add to task" src="https://github.com/user-attachments/assets/077f0cd0-8b5e-49a2-815a-33569921ef5e" />

  1. Optional comment composer, currently limited to text and voice

<img width="764" height="155" alt="Optional comment composer without an image attachment control" src="https://github.com/user-attachments/assets/a20b2f5e-f735-417d-82bb-e099bf3a0801" />

View original on GitHub ↗