`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
2 lines
15 B
Plaintext
2 lines
15 B
Plaintext
Chinmayrawat15
|