Files
hermes-agent/gateway
kshitijk4poor 3f4aedb37e fix(codex): Ultra stays codex's harness mode on the app-server
The app-server turn effort was clamped to the Responses vocabulary, so a Hermes
`ultra` pick reached codex as `max` and never ran codex's Ultra harness mode.
Live on codex-cli 0.147 with ChatGPT auth, `turn/start.effort = "ultra"` runs on
gpt-5.6-sol and gpt-5.6-luna (ladders reach `max`) and fails with 400
"'max' is not supported" on gpt-5.5, so `ultra` is now kept wherever the
model's ladder reaches `max` and clamped as before everywhere else. One rule,
route_supported_efforts(..., api_mode="codex_app_server"), drives the turn and
the labels: session.info's reasoning_effort_wire (the Desktop pill) and the CLI
and gateway /reasoning status read "ultra" instead of "ultra (sends max on this
route)" there. A named custom codex provider keeps the clamp.

From #130965 (Ultra passthrough and route-aware labels), narrowed to the
models that accept it.

Co-authored-by: FroRaut <79215537+Froraut@users.noreply.github.com>
2026-10-03 16:29:34 +05:30
..
…
…
…