Files
hermes-agent/tests/agent
teknium1 65aaf16a4d fix(aux): only treat a standalone reasoning field name as a reasoning rejection; let parameter rungs chain
Review follow-up on #113114. `_is_reasoning_field_rejection` fired on any 400 whose text
contained "reasoning"/"think" next to a generic unsupported marker, so a route-gating 400
naming a thinking model ("The model kimi-k2-thinking is not supported when using this
account") spent a strip-retry and then re-raised from `_param_rung_accepts` — the configured
fallback chain, which main consulted for that error, was never reached. Require the token
to be a standalone wire-field name (not a model-id segment, not "... with reasoning
models"), and let `_param_rung_accepts` accept model-incompatible, reasoning-field and
structured-output rejections so a temperature-strip retry that 400s on `reasoning_effort`
reaches the reasoning rung and a gating 400 after any strip still reaches provider fallback.

Also mirrors the new retry paragraph into the zh-Hans configuration page.
2026-09-16 17:01:52 -07:00
..