---
title: "ThinkingControl"
sidebar_label: "ThinkingControl"
description: "Kotlin binding reference: ThinkingControl."
---

<!-- Generated by tools/api_reference/generate_api_docs.py. Do not edit. -->

//[clika-runtime](../../../index.md)/[io.clika.modelverse](../index.md)/[ThinkingControl](index.md)

# ThinkingControl

[common]\
enum [ThinkingControl](index.md) : [Enum](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-enum/index.html)&lt;[ThinkingControl](index.md)&gt; 

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

## Entries

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

## Properties

| Name | Summary |
|---|---|
| [name](../../io.clika.runtime/PaddingSide/LEFT/index.md) | [common]<br>val [name](../../io.clika.runtime/PaddingSide/LEFT/index.md): [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html) |
| [ordinal](../../io.clika.runtime/PaddingSide/LEFT/index.md) | [common]<br>val [ordinal](../../io.clika.runtime/PaddingSide/LEFT/index.md): [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) |

## Functions

| Name | Summary |
|---|---|
| [valueOf](valueOf.md) | [common]<br>fun [valueOf](valueOf.md)(value: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)): [ThinkingControl](index.md)<br>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](values.md) | [common]<br>fun [values](values.md)(): [Array](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html)&lt;[ThinkingControl](index.md)&gt;<br>Returns an array containing the constants of this enum type, in the order they're declared. |