Skip to main content

//clika-runtime/io.clika.modelverse/ThinkingControl

ThinkingControl

[common]
enum ThinkingControl : Enum<ThinkingControl>

The reasoning controls a model admits, as its chat template declares them.

Entries​

NONE[common]
NONE
The model has no reasoning channel; GenerationConfig.thinking is ignored.
TOGGLE[common]
TOGGLE
The channel switches on and off per request.
LEVELS[common]
LEVELS
The channel runs at one of the model's declared effort levels.
ALWAYS[common]
ALWAYS
The channel is always on; the model has no switch for it, and GenerationConfig.thinking is ignored.

Properties​

NameSummary
name[common]
val name: String
ordinal[common]
val ordinal: Int

Functions​

NameSummary
valueOf[common]
fun valueOf(value: String): ThinkingControl
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
values[common]
fun values(): Array<ThinkingControl>
Returns an array containing the constants of this enum type, in the order they're declared.