GeezerVison is showing github.com — fix(chat): render assistant-generated images inline by aGamingGod1234 · Pull Request #6558 · pingdotgg/t3code
Conversation
aGamingGod1234
commented
Aug 14, 2026
•
edited by macroscopeapp
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
Assistant-generated images are not currently preserved and rendered as first-class chat output across the T3 Code surfaces, so generated artifacts can disappear into tool activity or fail to survive settled turn folding.
This persists approved provider image output through the attachment store, carries it through provider ingestion and orchestration, and renders it inline in assistant messages on web and mobile. Image messages remain visible after settled-turn folding, and the desktop package includes a focused end-to-end fixture for the attachment flow.
Related: #6441, #6029
Validation:
- 124 focused tests passed across server, web, and mobile
- scoped server, web, mobile, and contracts typechecks passed
- all 16 changed files passed formatting and changed-source lint checks
Implemented with GPT-5.6 Sol in T3 Code through the Codex harness.
Note
Render assistant-generated images inline in chat with safe URL validation
- Adds a new ingestion path in
ProviderRuntimeIngestion that extracts images from Codex generated_image and Claude tool_result provider payloads, persists them to the attachment store, and emits a completed assistant message with image attachments.
- Adds
AssistantMessageImages and AssistantMessageImageCard components that render image attachments inline with loading/error states, a download button, and an expand-to-gallery action.
- Constrains renderable URLs via
isSafeAssistantImagePreviewUrl, allowing only data URLs, blob URLs, and /api/assets/ paths (remote only when explicitly trusted).
- Keeps image-bearing assistant messages visible in collapsed turn folds on both web (
deriveTurnFolds) and mobile (deriveThreadFeedTurnFolds), even when a later terminal message exists.
- Adds an end-to-end Playwright/Electron test in assistant-image-e2e.mjs that seeds a SQLite projection and validates the image renders via the asset endpoint.
Macroscope summarized 2cd94e1.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Render generated images natively in assistant messages, persist provider image results through the approved attachment store, and preserve image messages across settled turn folding on web and mobile.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
coderabbitai
Bot
commented
Aug 14, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Important
Review skipped
Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.
⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro Plus
Run ID: 550da2fb-fc92-4d11-a128-4dc4e708a51a
You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.
Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
❤️ Share
Comment @coderabbitai help to get the list of available commands.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Want fixes drafted automatically? Bugbot Autofix can create code changes for findings. A team admin can enable Autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 5d646d7. Configure here.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Approvability
Verdict: Needs human review
This PR introduces a new feature for inline rendering of assistant-generated images, adding new UI components, server-side image extraction/persistence logic, and changes across multiple apps. New features with this scope of new capability warrant human review.
You can customize Macroscope's approvability policy. Learn more.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 5d646d706a
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Note 🤖 GPT-5.6 Sol responding on behalf of Theo
Closing this PR after an automated pass over open pull requests. Workspace image rendering already shipped in #6433.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Labels
size:XL
500-999 changed lines (additions + deletions).
vouch:unvouched
Author is not yet trusted in the VOUCHED list.
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|