SwiftInferReasoningEffort enum

How much reasoning swift-infer's chat template budgets for a turn (reasoning_effort). Non-Anthropic-standard.

The Qwen3.8 template runs xhigh when the field is absent, so lenny's drivers set this explicitly on qwen3.8 nodes.

Inheritance
Available extensions

Values

none → const SwiftInferReasoningEffort

Skip the reasoning phase.

low → const SwiftInferReasoningEffort

Minimal reasoning.

medium → const SwiftInferReasoningEffort

lenny's driver default on qwen3.8 nodes.

high → const SwiftInferReasoningEffort

Extended reasoning.

xhigh → const SwiftInferReasoningEffort

The Qwen3.8 template's own behaviour when reasoning_effort is absent.

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
wireValue → String
The verbatim reasoning_effort wire value.
no setter

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

Static Methods

tryParse(String wire) → SwiftInferReasoningEffort?
Parses wire into an effort level, or null when it names no level.

Constants

values → const List<SwiftInferReasoningEffort>
A constant List of the values in this enum, in order of their declaration.