Use Claude Code, Codex, VSCode, Pi, and OpenCode (and 6 other harnesses) for free (1.3B+ free tokens) from your terminal, app, IDE, or phone, and now from the browser with native browser sessions (multi-harness + multi-model) like OpenClaw (voice supported + ToS friendly)
Python
"""User-configurable reasoning policy values."""
from enum import StrEnum
class ReasoningPreference(StrEnum):
"""Configuration choice applied before provider translation."""
INHERIT = "inherit"
OFF = "off"
CLIENT = "client"
LOW = "low"
MEDIUM = "medium"
HIGH = "high"
XHIGH = "xhigh"
MAX = "max"
ROOT_REASONING_PREFERENCES = tuple(
preference
for preference in ReasoningPreference
if preference is not ReasoningPreference.INHERIT
)
ROUTE_REASONING_PREFERENCES = tuple(ReasoningPreference)
FALLBACK_REASONING_PREFERENCES = tuple(ReasoningPreference)