{"repo":"NousResearch/hermes-agent","public_id":"12395","display_label":"Circuit breaker for infinite tool call loops","summary":"These issues and fixes address scenarios where repeated tool or API failures cause the AI to loop indefinitely, consuming tokens without stopping. The work involves adding circuit breakers, permanent error classification, and consecutive failure guards to halt runaway retry cycles.","subsystem":"agent","counts":{"members":6,"open_issues":1,"open_issues_distinct":1,"open_prs":0,"closed_issues":2,"merged_prs":0,"attempt_prs":3},"landed_fix":null,"resolution":{"state":"unresolved","by":null},"freshness":{"state":"never_verified","last_verified_at":null,"is_stale":false},"grouping":{"backbone":"STRUCTURAL_PARTIAL","link_density":0.24799999999999997},"fix_edges":[],"members":[{"kind":"issue","number":12395,"title":"[Bug]: 想哭，qqbot消息推送失败后，hermes竟然一直循环调大模型，疯狂消耗token","url":null,"state":"closed"},{"kind":"issue","number":49479,"title":"[Feature]: 添加模型循环检测","url":null,"state":"closed"},{"kind":"issue","number":64927,"title":"Bug: AI 死循环 — 工具反复失败不终止，系统仅有被动警告无硬熔断","url":null,"state":"open"},{"kind":"pr","number":12401,"title":"fix: add circuit breaker for consecutive identical failing tool calls","url":null,"state":"closed","close_reason":{"category":"stale_abandoned","implication":"active"},"merged":false},{"kind":"pr","number":12405,"title":"fix: qqbot infinite retry - permanent error classification + circuit breaker (#12395)","url":null,"state":"closed","close_reason":{"category":"implemented_elsewhere","implication":"superseded"},"merged":false},{"kind":"pr","number":12418,"title":"fix(gateway): add consecutive send failure guard to prevent infinite token burn (#12395)","url":null,"state":"closed","close_reason":{"category":"stale_abandoned","implication":"active"},"merged":false}],"trust":{"default_tier":"verified","includes_suggested":false}}