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
- 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
Open PRs0
Fixes on record
-
#15107 fix(agent): retry on json.JSONDecodeError instead of treating it as a local validation error
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
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.00means 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 LabAt 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.