Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions apps/mobile/src/features/threads/ThreadFeed.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1410,6 +1410,23 @@ function renderFeedEntry(
return <ThreadThinkingRow rowSizing={props.workRowSizing} iconSubtleColor={iconSubtleColor} />;
}

if (entry.type === "reasoning-markdown") {
return (
<View className="mb-2 px-1 opacity-70">
<MarkdownImageAvailableWidthContext value={props.markdownContentWidth}>
<AssistantMarkdownContent
markdown={entry.text}
markdownStyles={markdownStyles.assistant}
linkHandlers={props.markdownLinkHandlers}
onUseArtifactTemplate={props.onUseArtifactTemplate}
renderImage={props.renderMarkdownImage}
skills={props.skills}
/>
</MarkdownImageAvailableWidthContext>
</View>
);
}

if (entry.type === "agent-spawn") {
return (
<ThreadAgentSpawnCard
Expand Down Expand Up @@ -2633,6 +2650,8 @@ export const ThreadFeed = memo(function ThreadFeed(props: ThreadFeedProps) {
case "work-toggle":
case "thinking":
return WORK_GROUP_TOGGLE_HEIGHT;
case "reasoning-markdown":
return undefined;
case "activity-group":
if (isContextCompactionActivityGroup(entry)) {
return undefined;
Expand Down
Loading
Loading