GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(chat): render assistant-generated images inline by aGamingGod1234 · Pull Request #6558 · pingdotgg/t3code

Conversation

@aGamingGod1234

@aGamingGod1234 aGamingGod1234 commented Aug 14, 2026 •
edited by macroscopeapp Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

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.

All reactions
@aGamingGod1234
fix(chat): render assistant-generated images inline
5d646d7
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.
Copilot AI lite review requested due to automatic review settings August 14, 2026 00:33
Copilot AI reviewed Aug 14, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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.

All reactions
@coderabbitai

coderabbitai Bot commented Aug 14, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

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:

  • 🔍 Trigger review

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
  • X
  • Mastodon
  • Reddit
  • LinkedIn

Comment @coderabbitai help to get the list of available commands.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions github-actions Bot added vouch:unvouched Author is not yet trusted in the VOUCHED list. size:XL 500-999 changed lines (additions + deletions). labels Aug 14, 2026
macroscopeapp[bot]
macroscopeapp Bot reviewed Aug 14, 2026
View reviewed changes
Comment thread apps/server/src/orchestration/AssistantImageAttachments.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread apps/server/src/orchestration/AssistantImageAttachments.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread apps/server/src/orchestration/AssistantImageAttachments.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread apps/web/src/components/chat/AssistantMessageImages.tsx Resolved

Uh oh!

There was an error while loading. Please reload this page.

cursor[bot]
cursor Bot reviewed Aug 14, 2026
View reviewed changes

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

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.

Fix All in Cursor

❌ 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.

All reactions
Comment thread apps/server/src/orchestration/AssistantImageAttachments.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

@macroscopeapp

macroscopeapp Bot commented Aug 14, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

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.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

chatgpt-codex-connector[bot]
chatgpt-codex-connector Bot reviewed Aug 14, 2026
View reviewed changes

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

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.

All reactions
Comment thread apps/web/src/components/chat/AssistantMessageImages.tsx Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread apps/server/src/orchestration/AssistantImageAttachments.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread apps/web/src/components/chat/AssistantMessageImages.tsx Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread apps/web/src/components/chat/AssistantMessageImages.tsx Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread apps/server/src/orchestration/AssistantImageAttachments.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread apps/server/src/orchestration/AssistantImageAttachments.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

@aGamingGod1234
fix(chat): harden generated image rendering
de5f9fa
macroscopeapp[bot]
macroscopeapp Bot reviewed Aug 14, 2026
View reviewed changes
Comment thread apps/web/src/components/chat/AssistantMessageImages.tsx Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread apps/web/src/components/ChatView.tsx Resolved

Uh oh!

There was an error while loading. Please reload this page.

@aGamingGod1234
fix(chat): harden image download fallback
2cd94e1
@t3dotgg

t3dotgg commented Aug 23, 2026

Copy link
Copy Markdown
Member

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.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@t3dotgg t3dotgg closed this Aug 23, 2026
@auditt98 auditt98 mentioned this pull request Sep 23, 2026
fix(codex): preview generated images from saved paths #13190
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@macroscopeapp macroscopeapp[bot] macroscopeapp[bot] left review comments
Copilot code review Copilot
Copilot review effort
Applies to this pull request for everyone.Learn more about Copilot code review.
Copilot left review comments
@chatgpt-codex-connector chatgpt-codex-connector[bot] chatgpt-codex-connector[bot] left review comments
@cursor cursor[bot] cursor[bot] left review comments

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.

Projects

None yet

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.

3 participants

@aGamingGod1234 @t3dotgg
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.