GoogleThinkingConfig

data class GoogleThinkingConfig(val includeThoughts: Boolean? = null, val thinkingBudget: Int? = null, val thinkingLevel: GoogleThinkingLevel? = null)(source)

Optional block that controls Gemini's "thinking" mode.

Constructors

Link copied to clipboard
constructor(includeThoughts: Boolean? = null, thinkingBudget: Int? = null, thinkingLevel: GoogleThinkingLevel? = null)

Properties

Link copied to clipboard

When set to true, the model will return its intermediate reasoning.

Link copied to clipboard

Token limit for reasoning (Gemini 2.0). Mutually exclusive with thinkingLevel.

Link copied to clipboard

Reasoning depth level (Gemini 3.0). Mutually exclusive with thinkingBudget.