NousResearch/hermes-agent

AIAgent chat()/main() KeyError on missing final_response

Cluster 55822 · agent. Data as of

Nothing open on GitHub. Fix attempted, not merged.

The short answer

0open issues
0open PRs
5items grouped
Known?
Yes. 5 related items grouped here, 1 issue already closed.
Fix event
No fix has been merged to main. 4 PRs closed without merging; see the attempts below.
Tracker
The maintainers' tracker marks this unresolved. That is separate from the fix event.
Still open
Nothing open on GitHub.

Members all concern AIAgent.chat() and main() raising KeyError('final_response') when run_conversation hits error or exhaustion paths. Several are proposed changes (using .get() or returning an empty string), and one appears to be the issue report; their outcomes are not stated here.

Open issues0

No open issues.

Open PRs0

No open pull requests.

4 PRs closed without merging

From the close comments: done elsewhere 3 · other 1

  • #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
  • #55891 fix: AIAgent.chat() and main() return empty string instead of raising KeyError on run_conversation error/exhaustion paths · done elsewhere → 053424c
  • #55989 fix(agent): use .get() for final_response to prevent KeyError (#55822) · done elsewhere → 053424c
Closed issues · 1
  • Closed#55822AIAgent.chat() and main() raise KeyError('final_response') on run_conversation error/exhaustion paths
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.40: 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
Closed issues
1
Attempts
4 PRs closed without merging

For your agent

The same facts, typed.