feat: introduced max reasoning effort tier across model and rpc systems

- Introduced `Max` as a first-class reasoning effort tier across all packages, including AI providers, coding agent configurations, and RPC protocols.
- Refactored model effort ladders to use wire-exact mappings and removed legacy effort aliasing (e.g., `max-to-xhigh` mapping).
- Updated model registry and provider configurations to support `Max` tier routing, color themes, and UI icon associations.
- Expanded test suites to provide end-to-end coverage for the new reasoning tier, including updated compatibility and fallback scenarios.
This commit is contained in:
can1357
2026-07-10 13:39:33 +02:00
parent 6813fa128f
commit d435385ab1
78 changed files with 1688 additions and 2868 deletions
+2 -2
View File
@@ -654,7 +654,7 @@ def install_verbose_logging(
with _PRINT_LOCK:
sys.stderr.write(
f"[{model.removeprefix('openrouter/')}] verbose> "
"no thinking level requested; pass --thinking low|medium|high|xhigh if the provider exposes reasoning.\n"
"no thinking level requested; pass --thinking low|medium|high|xhigh|max if the provider exposes reasoning.\n"
)
sys.stderr.flush()
@@ -914,7 +914,7 @@ def parse_args(description: str) -> argparse.Namespace:
)
parser.add_argument(
"--thinking",
choices=["off", "minimal", "low", "medium", "high", "xhigh"],
choices=["off", "minimal", "low", "medium", "high", "xhigh", "max"],
default="medium",
help="Request a specific thinking level for models that support reasoning (default: medium).",
)