[Feature] unify reasoning effort on one shared scale - #5
Merged
Conversation
andy-yang-1
added a commit
that referenced
this pull request
Aug 16, 2026
Main's #5 replaced the per-family thinking-gear registry with checkpoint probing (tokenizer/effort.py), which supersedes the muse entries this branch had added to model_meta -- resolved by taking main's side and mapping muse onto the new machinery where it belongs: the render layer now broadcasts reasoning_effort as reasoning_strength too (the same every-spelling rule the thinking toggles use; Jinja ignores undeclared variables and an explicit caller spelling wins). Through the broadcast the probe sees muse's template grade effort (validating nothing, defaulting high), so /v1/cache/status derives the OpenAI gear triple with default high, and muse's native xhigh still passes quantization untouched. The double-bos fix is re-applied to the reworked tokenize path: template-rendered prompts encode with add_special_tokens=False, raw strings and the dsv4 encoder keep the default.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Clients/Agent speak different reasoning-effort dialects; each checkpoint's template only accepts its own. To better unify the experience, every named effort projects onto one shared scale
noneminimallowmediumhighxhighmaxSelection: the checkpoint's vocabulary is probe-rendered from its own template at load, and a foreign value lands on the nearest supported gear on this scale.
Effort/thinking behavior is no longer hardcoded per model family: the
think_specregistry is deleted, protocol toggles broadcast every spelling templates read, and the TUI's gears on/v1/cache/statusare derived from the same probe.