Documentation / @agentick/client / ChatModeDeriver
Type Alias: ChatModeDeriver()<T>
ChatModeDeriver<
T> = (input) =>T
Defined in: client/src/chat-types.ts:158
Derives the chat mode from execution and confirmation state. Default: idle/streaming/confirming_tool. Override for custom modes (e.g. "error", "reconnecting").
Type Parameters
T
T extends string = ChatMode
Parameters
input
hasPendingConfirmation
boolean
isExecuting
boolean
Returns
T