AIReasoningPart
data class AIReasoningPart(val id: String, val status: AIReasoningPart.Status, val summary: String? = null, val preview: String? = null, val durationMs: Int? = null)
A round of the model's reasoning.
Parameters
id
The step's stable identity.
status
Where the round is. Defaults to Status.Completed when the agent sends none.
summary
A one-line summary of the reasoning, once it is done.
preview
A capped excerpt: the latest thoughts while streaming, the opening once done. The full reasoning, when an app has it, arrives separately.
durationMs
How long the model thought, in milliseconds.
Constructors
Link copied to clipboard
constructor(id: String, status: AIReasoningPart.Status, summary: String? = null, preview: String? = null, durationMs: Int? = null)