# NousResearch/hermes-agent · Gateway queue path crashes on non-dict agent results

## Open now

- Nothing open on GitHub.

A bug where the gateway's /queue and queued-message drain paths raised errors when agent results were not plain dicts (e.g. SendResult objects). Multiple fixes were applied to guard these code paths against non-dict return types.

## TL;DR

- 3 member(s): 0 open issue(s), 1 closed issue(s), 0 open PR(s), 0 merged PR(s), 2 PR(s) closed without merging.
- No fix has been merged to main; one or more PRs were attempted (see below).
- **Recommended:** review the prior/competing PR(s) below. A fix was attempted but not merged; your case may extend or revive that work.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `unresolved`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_SPANNING`): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
- Pairwise link density `0.67`: the share of member 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.

## Closed / duplicate issues

- #25152: \[Bug\]: /queue broken — 'SendResult' object has no attribute 'get' in gateway _run_agent

## Prior & competing PRs

- **#25161: fix(gateway): guard against non-dict agent results in /queue path**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#20854`
- **#29266: fix(gateway): guard all non-dict agent results in queued-message drain path (#25152)**. closed without merge
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `d682f320b35a13084371a541a835e1d988c982b8`, `#25152`

## Fix status

- No merged fix on record.
- Subsystem: `gateway`
