struct

AI::Google::ThinkingConfig

Inherits JSON::Serializable < Struct < Value < Object

Thinking configuration for models that support extended thinking.

Constructors

new(thinking_budget : Int32 | Nil = nil, include_thoughts : Bool | Nil = nil, thinking_level : String | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

include_thoughts

Whether to include thoughts in output.

Source
thinking_budget

Budget for thinking tokens.

Source
thinking_level

Thinking level: minimal, low, medium, high.

Source