thought property

bool? thought
final

Whether this text is a thought/reasoning step.

The Gemini API returns reasoning text as {"text": "...", "thought": true}. When true, this part contains model reasoning rather than final output.

Implementation

final bool? thought;