Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(web,mobile): show Copy and Fork actions on kept final_answer replies #42089

Openzs-andy(GitHub profile, opens in a new tab)wants to merge 6 commits intomain fromrefs/pull/42089/headopened View on GitHub

Showing 5 changed files with 102 additions and 18 deletions (loading 2).

x
0 of 5 viewed, 5 left
6 additions and 13 deletionsapps/mobile/src/features/threads/ThreadFeed.tsxModified
View file
@@ -250,6 +250,7 @@
} from "../../lib/markdownLinks";
import {
createThreadFeedCache,
+ deriveAssistantMetaMessageIds,
feedEntryHistoryEndOrdinal,
threadFeedCompactionLabels,
failedFeedRunIds,
@@ -2040,7 +2041,7 @@
readonly expandedWorkRows: Record<string, boolean>;
readonly workRowSizing: ReturnType<typeof deriveThreadWorkLogSizing>;
readonly workGroupScrollPositions: Map<string, ThreadWorkGroupScrollPosition>;
- readonly terminalAssistantMessageIds: ReadonlySet<string>;
+ readonly assistantMetaMessageIds: ReadonlySet<MessageId>;
readonly unsettledTurnId: RunId | null;
readonly compactionLabelsByEntryId: ReadonlyMap<string, { title: string; compacting: string }>;
readonly failedRunIds: ReadonlySet<RunId>;
@@ -2348,7 +2349,7 @@
message.runId === props.unsettledTurnId;
const showAssistantMeta =
message.role === "assistant" &&
- props.terminalAssistantMessageIds.has(message.id) &&
+ props.assistantMetaMessageIds.has(message.id) &&
!assistantTurnStillInProgress &&
!message.streaming;
@@ -4048,15 +4049,7 @@