GoogleThinkingConfig

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

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

Constructors

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

Properties

Link copied to clipboard

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

Link copied to clipboard
val thinkingBudget: Int? = null

Token limit for reasoning, 0 disables it (Flash 2.5).