Codex App (or codex response) inconsistently includes screenshots inline on response

Open 💬 2 comments Opened Mar 16, 2026 by lgo

What version of the Codex App are you using (From “About Codex” dialog)?

26.311.21342 (993)

What subscription do you have?

Pro

What platform is your computer?

MacOS

What issue are you seeing?

I am finding that Codex will inconsistently include screenshots in the response, or just hyperlink the code (whether or not that is an implicit behaviour of the codex app). This is:

  • Using the built-in Playwright CLI MCP, although it's unclear if that matters as the repo is explicitly setup for playwright UI work
  • Includes some AGENTS.md instructions such as
- When making UI changes, prefer to use Playwright to exercise the UI, take screenshots, and review those screenshots before deciding the UI is correct
...
When you are making UI changes, please use playwright to view the changes and respond with them as well as include them on your pull requests. Make sure to correctly include the screenshot upload on Github (via `--attach`). Please don't just link to the file in your response, but include the markdown reference inline.
  • 019cf744-030b-7921-b73c-a10629fb3e5a includes an href to the file for a playwright screenshot.
  • 019cf744-ec5a-7210-aea7-67b4ad2de91d does correctly include a playwright screenshot inline.

What steps can reproduce the bug?

It's unclear what exactly is misbehaving, but I imagine a small repro with playwright and some different prompting might yield the divergent behaviour.

What is the expected behavior?

Ideally any screenshots included will be inlined on the response. It may be more consistent if the Codex app would consistently inline .png or other images rather than hyperlinking them.

Additional information

_No response_

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗