mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-11-16 19:36:54 +00:00
`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
1 line
15 B
Text
1 line
15 B
Text
Chinmayrawat15
|