Files
hermes-agent/plugins
Chinmayrawat15 1447c83b46 fix(acp): resolve reasoning_config for ACP and Feishu comment agents
`SessionManager._make_agent` and the Feishu doc-comment agent built their
`AIAgent` without `reasoning_config`, so `agent.reasoning_effort: none`
never reached those sessions: the transport applied its default effort,
which non-reasoning models such as gpt-4o-mini reject with HTTP 400 and
which silently re-enables thinking everywhere else. Both surfaces now go
through `hermes_constants.resolve_reasoning_config`, the same chokepoint
the CLI, gateway, TUI, cron and `hermes -p` already use, resolved against
the model the session actually runs so per-model overrides apply.

Ported from PR #85164 by @Chinmayrawat15 (oneshot hunk already on main).

Fixes #85153
2026-09-19 09:39:50 -07:00
..