Skip to content

ChatTurnOptions

Property Type Description Inherited from
clientMsgId? string - SendChatOptions.clientMsgId
conversationId? string - SendChatOptions.conversationId
onDelta? (text) => void Called with each streamed chunk of assistant text, in order. -
onToolActivity? (activity) => void Called for each tool start/completion as the agent works. -
pollIntervalMs? number Poll interval while waiting on the poll fallback (default 1000ms). -
signal? AbortSignal Abandon the wait when this aborts, raising AuraTurnCancelledError. Aborting stops the waiting only — pair it with AuraClient.cancel to stop the turn server-side. -
timeoutMs? number Give up after this long (default 300000ms). -