GoogleThinking class final
Thinking configuration for Gemini models.
Ported from pi's GoogleOptions.thinking.
Constructors
- GoogleThinking({required bool enabled, int? budgetTokens, String? level})
-
Creates a thinking configuration.
const
Properties
- budgetTokens → int?
-
Token budget for thinking;
-1for dynamic,0to disable. Ignored when level is set.final - enabled → bool
-
Whether thinking is enabled. When false on a reasoning model, the
adapter sends the model-specific disable config (pi's
getDisabledThinkingConfig).final - hashCode → int
-
The hash code for this object.
no setterinherited
- level → String?
-
Thinking level for Gemini 3 models, mirroring Google's
ThinkingLevelenum values:MINIMAL,LOW,MEDIUM,HIGH.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited