| 1 | import 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 | export type FollowUpBehavior = Extract<ActiveTurnComposerAction, "queue" | "steer">; |
| 8 | |
| 9 | export const DEFAULT_FOLLOW_UP_BEHAVIOR: FollowUpBehavior = "queue"; |