{"slug": "gotcha-of-the-day-preserve-reasoning-on-local-backends-vs-framework-overrides", "title": "Gotcha of the day: preserve_reasoning on local backends vs. framework overrides", "summary": "Hermes Agent strips reasoning from assistant replays for custom providers by default, causing Qwen3.8-Flash-Next and GLM-5.3-Flash to repeat plans and rethink each block without awareness of prior turns under the agent harness. The fix is to set `model.reasoning_echo` to `true` in the Hermes Agent config.", "body_md": "Symptom: Qwen3.8-Flash-Next and GLM-5.3-Flash repeat plans in reasoning, rethinking again and again in each block without apparent awareness of prior turns and being slow to progress under Hermes Agent.\n\nCause: By default, Hermes Agent strips reasoning from assistant replays for custom providers, whatever the backend and the chat template might have set it to. This can cause problems for models that accept (or indeed expect) preserved reasoning. Other frameworks may have similar defaults, though I am not familiar with any specific examples.\n\nFix: Set `model.reasoning_echo` to`true` in Hermes Agent config.\n\nJust thought this might be non-obvious and useful for anyone else having loopy local models in agentic harnesses. That would be all.", "url": "https://wpnews.pro/news/gotcha-of-the-day-preserve-reasoning-on-local-backends-vs-framework-overrides", "canonical_source": "https://forum.level1techs.com/t/gotcha-of-the-day-preserve-reasoning-on-local-backends-vs-framework-overrides/258410#post_1", "published_at": "2026-10-12 03:46:30+00:00", "updated_at": "2026-10-12 04:38:42.277059+00:00", "lang": "en", "topics": ["ai-agents", "large-language-models", "ai-tools"], "entities": ["Hermes Agent", "Qwen3.8-Flash-Next", "GLM-5.3-Flash"], "also_reported_by": [], "alternates": {"html": "https://wpnews.pro/news/gotcha-of-the-day-preserve-reasoning-on-local-backends-vs-framework-overrides", "markdown": "https://wpnews.pro/news/gotcha-of-the-day-preserve-reasoning-on-local-backends-vs-framework-overrides.md", "text": "https://wpnews.pro/news/gotcha-of-the-day-preserve-reasoning-on-local-backends-vs-framework-overrides.txt", "jsonld": "https://wpnews.pro/news/gotcha-of-the-day-preserve-reasoning-on-local-backends-vs-framework-overrides.jsonld"}}