NousResearch/hermes-agent

Compression fallback behavior on timeout errors

Cluster 15935. Data as of

Nothing open on GitHub. Fix merged in #19665 on 4 May 2026. Check it covers your case.

The short answer

0open issues
0open PRs
4items grouped
Known?
Yes. 4 related items grouped here, 1 issue already closed.
Fix event
A fix was merged to main in PR #19665. Check it covers your case. No release data is tracked.
Tracker
The maintainers' tracker marks this unresolved. That is separate from the fix event.
Still open
Nothing open on GitHub.

These issues and PRs address how the context compressor handles timeout and model-unavailable errors, specifically improving fallback and retry logic instead of permanently failing.

Open issues0

No open issues.

Open PRs0

No open pull requests.

Fixes on record

Merged to main. A stamp counts the issues a fix is linked to.

  • #19665 fix(compressor): trigger fallback on timeout errors alongside model-unavailable errors

    merged to main

    files: agent/context_compressor.py

    Show the diff
    • agent/context_compressor.py
      @@ -906,15 +906,19 @@ def _generate_summary(self, turns_to_summarize: List[Dict[str, Any]], focus_topi
                       or "does not exist" in _err_str
                       or "no available channel" in _err_str
                   )
      +            _is_timeout = (
      +                _status in (408, 429, 502, 504)
      +                or "timeout" in _err_str
      +            )
                   if (
      -                _is_model_not_found
      +                (_is_model_not_found or _is_timeout)
                       and self.summary_model
                       and self.summary_model != self.model
                       and not getattr(self, "_summary_model_fallen_back", False)
                   ):
                       self._summary_model_fallen_back = True
                       logging.warning(
      -                    "Summary model '%s' not available (%s). "
      +                    "Summary model '%s' unavailable (%s). "
                           "Falling back to main model '%s' for compression.",
                           self.summary_model, e, self.model,
                       )

2 PRs closed without merging

From the close comments: closed without comment 1 · merged via another change 1

  • #15924 fix(compression): fallback to main model on timeout errors · closed without comment
  • #16126 fix(compressor): trigger fallback on timeout errors alongside model-not-found · merged via another change → #19665
Closed issues · 1
  • Closed#15935bug(compression): context compression fails permanently when summary model times out
How this cluster was grouped
  • Link evidence (structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
  • Pairwise link density 0.50: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. 1.00 means every pair is linked.

Pick up a Lab task

Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.

Open the Lab

At a glance

Merged PRs
#19665
Closed issues
1
Attempts
2 PRs closed without merging
Fix link checked
4 May 2026

For your agent

The same facts, typed.