Skip to content
Source
Sign inSign up
pingdotgg/t3code

feat(threads): add cross-provider conversation forks #11096

Closedfabianclain(GitHub profile, opens in a new tab)wants to merge 1 commit intomain fromrefs/pull/11096/headopened View on GitHub

Showing 33 changed files with 146 additions and 13 deletions (loading 32).

x
0 of 33 viewed, 33 left
146 additions and 13 deletionsapps/mobile/src/features/threads/ThreadComposer.tsxModified
View file
@@ -10,6 +10,8 @@
ServerConfig as T3ServerConfig,
UsageLimitsReport,
} from "@t3tools/contracts";
+import { ThreadId } from "@t3tools/contracts";
+import * as Cause from "effect/Cause";
import {
collectProviderUsageLimits,
hasProviderUsageLimits,
@@ -46,6 +48,9 @@
import { useUniwindTheme } from "../../lib/useUniwindTheme";
import { armAgentAwarenessLiveActivityForLocalWork } from "../agent-awareness/remoteRegistration";
import { scopedThreadKey } from "../../lib/scopedEntities";
+import { uuidv4 } from "../../lib/uuid";
+import { forkThreadCommand } from "../../state/thread-fork";
+import { useAtomCommand } from "../../state/use-atom-command";
​
import { AppText as Text } from "../../components/AppText";
import { ComposerAttachmentButton } from "../../components/ComposerAttachmentButton";
@@ -70,6 +75,7 @@
buildModelOptions,
groupByProvider,
isModelSelectionUnavailable,
+ type ModelOption,
} from "../../lib/modelOptions";
import { useScaledTextRole } from "../settings/appearance/useScaledTextRole";
import type { RemoteClientConnectionState } from "../../lib/connection";