AIReasoningPart
constructor(id: String, status: AIReasoningPart.Status, summary: String? = null, preview: String? = null, durationMs: Int? = null)
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.