Codex app-server generated image items render as assistant image previews.
- Dev server running (
pnpm run dev) - A Codex thread that has completed an image generation turn, or a test app-server payload containing either
type: "imageGeneration"with a base64resultortype: "imageView"with an absolute imagepath
- Open the thread in CodexUI
- Locate the completed image generation turn
- Inspect the assistant response area where the generated image should appear
- Click the generated image preview
- The generated image item appears as an assistant image preview instead of disappearing from the conversation
- The preview is rendered larger than normal user attachment thumbnails and keeps its aspect ratio
- Clicking the preview opens the existing image modal
- The image is served through
/codex-local-image?path=...
- Delete any temporary generated image files if they were created only for this test