mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-31 19:16:29 +00:00
Fixes #62452. Two amplifiers turned one slow auxiliary route into a per-turn multi-minute stall: 1. Fallback candidates inherited the exact effective_timeout the primary was called with. When the primary's deadline was short (tuned or already burned), an independently healthy fallback died on the same clock — the reporter's 163k-token compression needed ~90s on the fallback and got the primary's 30s, every turn. fallback_chain entries may now declare their own 'timeout' (seconds); both fallback candidate call sites (sync + async) resolve it via _fallback_entry_timeout, label-scoped so only configured-chain candidates are affected. No entry timeout → task-level timeout, preserving existing behavior. 2. A session whose transcript structurally cannot be summarized within the deadline re-attempted every 60s, re-burning the full timeout on every subsequent turn. Consecutive timeout-class failures now escalate the cooldown 60s → 300s → 900s (capped); any successful summary or session reset clears the streak. Timeout classification takes precedence over the streaming-closed 30s rung ('timed out' also matches _is_connection_error) and now recognizes the SDK's 'Request timed out.' phrasing. Fail-safe behavior is unchanged: all messages are preserved when every candidate fails; the cooldown only spaces out retries. |
||
|---|---|---|
| .. | ||
| _category_.json | ||
| acp.md | ||
| api-server.md | ||
| batch-processing.md | ||
| browser.md | ||
| built-in-plugins.md | ||
| code-execution.md | ||
| codex-app-server-runtime.md | ||
| computer-use.md | ||
| context-files.md | ||
| context-references.md | ||
| credential-pools.md | ||
| cron.md | ||
| curator.md | ||
| delegation.md | ||
| deliverable-mode.md | ||
| extending-the-dashboard.md | ||
| fallback-providers.md | ||
| goals.md | ||
| honcho.md | ||
| hooks.md | ||
| image-generation.md | ||
| kanban-tutorial.md | ||
| kanban-worker-lanes.md | ||
| kanban.md | ||
| lsp.md | ||
| mcp.md | ||
| memory-providers.md | ||
| memory.md | ||
| mixture-of-agents.md | ||
| overview.md | ||
| personality.md | ||
| pets.md | ||
| plugins.md | ||
| provider-routing.md | ||
| skills.md | ||
| skins.md | ||
| spotify.md | ||
| subscription-proxy.md | ||
| tool-gateway.md | ||
| tool-search.md | ||
| tools.md | ||
| tts.md | ||
| vision.md | ||
| voice-mode.md | ||
| web-dashboard.md | ||
| web-search.md | ||
| x-search.md | ||