codex_supported_efforts (agent/reasoning_effort.py)

hermes-agent-windows · agent/reasoning_effort.py · python · MIT
ai

Canonical reasoning-effort vocabulary and wire clamping. Hermes' internal effort ladder (``hermes_constants.VALID_REASONING_EFFORTS`` plus the ``none`` disable level) is wider than what any single provider wire accepts. Historically every transport and provider profile hand-rolle

# Source: https://github.com/zapabob/hermes-agent-windows | License: MIT | Copyright 2025 Nous Research
# Provided via justclaw.it.com; keep this notice with the code.
"""Canonical reasoning-effort vocabulary and wire clamping.

Hermes' internal effort ladder (``hermes_constants.VALID_REASONING_EFFORTS``
plus the ``none`` disable level) is wider than what any single provider wire
accepts. Historically every transport and provider profile hand-rolled its own
translation map, and the class of bugs that produced was constant: a new
internal level (``ultra``) leaking to a wire that rejects it with HTTP 400
(#89503, #70058), or an unknown level being dropped to a weak default so the
strongest ask resolved *weaker* than an explicit ``high`` — a ladder
inversion (#74295, #87279).

This module is 

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key