fix(agent): clamp aux Ultra effort for Codex and xAI Responses - #78533
fix(agent): clamp aux Ultra effort for Codex and xAI Responses#78533BillyNour wants to merge 1 commit into
Conversation
Map Hermes Ultra (and sibling above-high labels) to each Responses backend's accepted ceiling on the auxiliary Codex adapter path, and stamp current_issuer_kind so foreign encrypted reasoning is not replayed.
f43f9f8 to
9d5a2fb
Compare
Rebase onto current mainPre: @teknium1 still available for first review when convenient. |
|
Update on the effort-clamp half: the reasoning-effort translation was centralized on main (PR #90350 — canonical ladder + declared per-route vocabularies in The OTHER half of this PR — the issuer-kind stamps for replayed encrypted reasoning in |
Summary
ultra→max.ultra/xhigh/max→high.current_issuer_kindwhen building aux Responses input so foreign encrypted reasoning is dropped (same intent as main Codex transport).Why
Hermes product label Ultra is not a universal wire value. Aux calls that forwarded it raw could 400 or mis-route on Codex/xAI Responses. Main agent transport already clamps; aux did not fully match.
Test plan
scripts/run_tests.sh tests/agent/test_auxiliary_client.py -q→ 174 passed on exact headScope
Only:
agent/auxiliary_client.pytests/agent/test_auxiliary_client.pyNo Honcho / installer changes.