ReasoningTextPart

@Serializable
class ReasoningTextPart(val text: String) : TextContentPart

Chain-of-thought produced by the model in thinking mode, as reasoning_text.

Appears in the content of a ReasoningItem, and is accepted back on input so the reasoning of an earlier turn can be replayed.

Constructors

Link copied to clipboard
constructor(text: String)

Properties

Link copied to clipboard
open override val text: String

The chain-of-thought text.

Link copied to clipboard
open override val type: String

Raw type discriminator of the part.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String