AgentSessionState

constructor(messages: List<ModelMessage> = emptyList(), status: AgentSessionStatus = AgentSessionStatus.Ready, text: String = "", output: TOutput? = null, pendingApprovals: List<PendingApproval> = emptyList(), lastResult: GenerateResult<TOutput>? = null, error: Throwable? = null)(source)