Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(web,mobile): new replies show overwritten local images #23213

Closedjuliusmarmingewants to merge 5 commits intomain fromfix/issue-15676opened View on GitHub

Showing 10 changed files with 26 additions and 11 deletions (loading 7).

x
0 of 10 viewed, 10 left
12 additions and 9 deletionsapps/mobile/src/features/threads/ThreadFeed.tsxModified
View file
@@ -258,6 +258,7 @@
import { useFileChipShare } from "./useFileChipShare";
import {
MarkdownImageAvailableWidthContext,
+ MarkdownMediaRevisionContext,
ThreadMarkdownImage,
ThreadMarkdownImageUnavailable,
ThreadMarkdownImageView,
@@ -1554,15 +1555,17 @@
{renderedText.trim().length > 0 ? (
<MarkdownImageAvailableWidthContext value={props.markdownContentWidth}>
- <AssistantMarkdownContent
- markdown={renderedText}
- environmentId={props.environmentId}
- markdownStyles={styles}
- linkHandlers={props.markdownLinkHandlers}
- onUseArtifactTemplate={props.onUseArtifactTemplate}
- renderImage={props.renderMarkdownImage}
- skills={props.skills}
- />
+ <MarkdownMediaRevisionContext value={message.id}>
+ <AssistantMarkdownContent
+ markdown={renderedText}
+ environmentId={props.environmentId}
+ markdownStyles={styles}
+ linkHandlers={props.markdownLinkHandlers}
+ onUseArtifactTemplate={props.onUseArtifactTemplate}
+ renderImage={props.renderMarkdownImage}