ReasoningMode class
The single home for reasoning control. Composed surfaces (tool calling, RAG, voice agent) inherit it through the embedded LLMGenerationOptions.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
This enum's name, as specified in the .proto file.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → int
-
This enum's integer value, as specified in the .proto file.
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
Returns this enum's
nameor thevalueif names are not represented.inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
valueOf(
int value) → ReasoningMode?
Constants
- REASONING_MODE_OFF → const ReasoningMode
- Commons applies the model's no-think directive at the prompt level.
- REASONING_MODE_ON → const ReasoningMode
- Request thinking on models where it is optional.
- REASONING_MODE_UNSPECIFIED → const ReasoningMode
- Reasoning-capable models think; others don't.
-
values
→ const List<
ReasoningMode>