Open History to see the last commit
1import type { ActiveTurnComposerAction } from "@t3tools/client-runtime/state/composer-dispatch";
2
3/**
4 * What the send button does while a turn is already running: `queue` waits for
5 * the turn to finish, `steer` interrupts it with the new message.
6 *
7 * Web keeps the same choice in its per-client settings. Mobile has no
8 * client-settings sync, so it is stored per device alongside the other
9 * composer preferences.
10 */
11export type FollowUpBehavior = Extract<ActiveTurnComposerAction, "queue" | "steer">;
12
13export const DEFAULT_FOLLOW_UP_BEHAVIOR: FollowUpBehavior = "queue";