Expand description
Typed named reasoning level — single source of truth across providers.
ReasoningLevel is a closed enum with exact parsing, display, and explicit
conversion to legacy Anthropic token budgets. It lives in synaps-core so
every crate (engine, TUI) can depend on the same type without circular deps.
§Invariants
Maxmust never aliasXHigh.Ultramust never map through a numeric bucket.OffandAdaptiveare distinct.- Unknown strings from external sources parse to
None/ are rejected at the call-site, not silently coerced.
Enums§
- Reasoning
Level - A named reasoning / thinking depth level.
- Thinking
Spec - Parse the
thinkingconfig key into either a named level or a raw numeric budget.