Type Alias: ThreadSession
ThreadSession =
object
Session-scoped transcript + stream state for one conversation thread.
Properties
Section titled “Properties”abortController
Section titled “abortController”abortController:
AbortController|null
assistantId
Section titled “assistantId”assistantId:
string|null
error:
Error|null
feedbackByMessage
Section titled “feedbackByMessage”feedbackByMessage:
Record<string,MessageFeedback>
hasMoreHistory
Section titled “hasMoreHistory”hasMoreHistory:
boolean
historyLoaded
Section titled “historyLoaded”historyLoaded:
boolean
historyPage
Section titled “historyPage”historyPage:
number
lastUserText
Section titled “lastUserText”lastUserText:
string|null
messages
Section titled “messages”messages:
UIMessage[]
pendingApprovalsByMessage
Section titled “pendingApprovalsByMessage”pendingApprovalsByMessage:
Record<string,PendingApproval[]>
queuedSteers
Section titled “queuedSteers”queuedSteers:
QueuedSteer[]
Steers submitted mid-turn, waiting to run (oldest first).
runId:
string|null
runToken
Section titled “runToken”runToken:
number
status
Section titled “status”status:
ChatStatus
toolEventsByMessage
Section titled “toolEventsByMessage”toolEventsByMessage:
Record<string,ToolEvent[]>