Fixing KeyError and crashes on run_conversation error paths
NousResearch/hermes-agent · cluster 9433 · agent
Data as of
Nothing open on GitHub. Fix merged in #14490. Check it covers your case.
The short answer
- Known?
- Yes. 10 related items grouped here, 2 issues already closed.
- Fix event
- A fix was merged to main in PR #14490. 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.
Multiple issues and fix attempts address KeyError on 'final_response' and crashes when run_conversation returns a non-dict, affecting AIAgent.chat(), main(), and the cron scheduler.
Open issues0
Open PRs0
Fixes on record
-
#14490 fix(cron): guard against non-dict result from run_conversation (salvage #9437)
files:
cron/scheduler.py,scripts/release.py
7 PRs closed without merging
From the close comments: done elsewhere 3 · merged via another change 1 · stale or abandoned 1 · superseded by another PR 1 · other 1
-
#9437 fix(cron): guard against non-dict result from run_conversation · superseded by another PR →
#14490 - #9498 fix(cron): handle non-dict return from run_conversation in scheduler · stale or abandoned
-
#9503 fix(cron): guard against non-dict conversation results · merged via another change →
22afa06,#14490,#9437,#9433 -
#55821 fix(agent): chat()/main() raise KeyError('final_response') on run_conversation error paths · done elsewhere →
053424c - #55880 fix(agent): handle missing final_response on error paths · other
Closed issues · 2
How this cluster was grouped
-
Link evidence (
partly structural links): some members are connected by structural evidence (shared changed files, or a closing/superseded reference); the rest are joined by an automated relevance judgement over their text. - Members outside that structural core may belong to a different underlying problem.
-
Pairwise link density
0.19: 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
- #14490
- Closed issues
- 2
- Attempts
- 7 PRs closed without merging
- Fix link checked
- 23 Apr 2026. This confirmation is old and may be out of date (a revert or reopen would not have invalidated it here); re-verify.