diff --git a/apps/mobile/src/features/threads/thread-handoff-row.tsx b/apps/mobile/src/features/threads/thread-handoff-row.tsx index 7158a9968bcc6..7b7b85b176e17 100644 --- a/apps/mobile/src/features/threads/thread-handoff-row.tsx +++ b/apps/mobile/src/features/threads/thread-handoff-row.tsx @@ -2,6 +2,7 @@ import * as Dialog from "../../components/ui/Dialog"; import { useAtomValue } from "@effect/atom-react"; import { scopeThreadRef } from "@t3tools/client-runtime/environment"; import { + isContextRestore, resolveHandoffEndpoints, resolveModelSwitchChange, type HandoffEndpoints, @@ -94,6 +95,16 @@ export function ThreadHandoffRow(props: { const endpoints = useAtomValue(endpointsAtom); if (item.type !== "handoff" || endpoints === null) return null; const color = item.status === "failed" ? "#e11d48" : props.iconColor; + if (isContextRestore(endpoints)) { + return ( + + ); + } return ( + ); + } return ( 0 && + from.every((endpoint) => endpoint.instanceId === to.instanceId && endpoint.model === to.model) + ); +} + function latestRunModelBefore( runs: ReadonlyArray, instanceId: ProviderInstanceId,