JSONDecodeError misclassified, bypassing agent retry logic

NousResearch/hermes-agent · cluster 14271 · agent

Data as of

Nothing open on GitHub. Fix merged in #15107. Check it covers your case.

The short answer

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

Multiple reports and fixes address a bug where json.JSONDecodeError, due to its ValueError inheritance, was incorrectly treated as a local validation error and aborted without retrying. Most members focus on excluding JSONDecodeError from that classification so provider failures trigger proper retry behavior.

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.

  • #15107 fix(agent): retry on json.JSONDecodeError instead of treating it as a local validation error

    merged to main

    files: run_agent.py, tests/run_agent/test_jsondecodeerror_retryable.py

4 PRs closed without merging

From the close comments: done elsewhere 1 · duplicate 1 · merged via another change 1 · superseded by another PR 1

  • #14293 fix(agent): retry provider JSON decode failures · done elsewhere → c2b3db4, #14271, #15107, #14782
  • #14366 fix: exclude json.JSONDecodeError from local validation error check · duplicate → #14293, #14271
  • #14778 fix(agent): exclude JSONDecodeError from local validation error classification · merged via another change → c2b3db4, #15107, #14782
  • #16952 fix: preserve tool-turn context and harden issue follow-ups · superseded by another PR → #52618, #14185, #14785
Closed issues · 2
  • Closed#14271JSONDecodeError misclassified as local validation error causes non-retryable abort (HTTP None)
  • Closed#14782[Bug]: JSONDecodeError bypasses retry logic due to ValueError inheritance
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.35: 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

Subsystem
agent
Merged PRs
#15107
Closed issues
2
Attempts
4 PRs closed without merging
Fix link checked
24 Apr 2026. This confirmation is old and may be out of date (a revert or reopen would not have invalidated it here); re-verify.

For your agent

The same facts, typed.