# NousResearch/hermes-agent · Error classifier crash on dict-typed message fields

## Open now

- Nothing open on GitHub.

A bug report and multiple fix attempts addressing an AttributeError that occurs when the error classifier encounters a dict-typed message field instead of a string. The fixes generally involve coercing or handling non-string message values in classify_api_error().

## TL;DR

- 9 member(s): 0 open issue(s), 1 closed issue(s), 0 open PR(s), 1 merged PR(s), 7 PR(s) closed without merging.
- A fix was merged to main in PR #12935. Verify it addresses your case.
- **Recommended:** read PR #12935 (and any competing PRs below) before filing. Confirm the merged change covers your symptom.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `resolved` · deciding PR(s): `pr-12935`. 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.22`: 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

- #11233: \[Bug\]: Error classifier crashes with \`AttributeError\` when API returns a dict-typed \`message\` field

## Prior & competing PRs

- **#12935: fix(error_classifier): handle dict-typed message fields without crashing**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`; implication `superseded`
  - files: `agent/error_classifier.py`, `scripts/release.py`, `tests/agent/test_error_classifier.py`
- **#11264: fix(error-classifier): handle non-string message fields in error bodies**. closed without merge
  - maintainer direction: category `silent_close`; implication `active`
- **#11276: fix 11233: wrap message field with str to prevent AttributeError**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#12935`
- **#11308: fix(error_classifier): handle dict-typed message fields in classify_api_error()**. closed without merge
  - maintainer direction: category `stale_abandoned`; implication `active`
- **#11322: fix(agent): handle dict-typed message in classify_api_error**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#12935`
- **#11496: fix(error_classifier): handle dict-typed message fields without crashing**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `#12935`
- **#12489: fix: error classifier dict message crash (#11233)**. closed without merge
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `#11233`, `#12935`
- **#12913: fix(agent): handle dict-typed message fields in error classifier (#11233)**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `b869bf206`, `#12935`, `#12935`, `#11233`, `#12935`

## Fix status

- Merged to main in PR #12935 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-04-20`. This confirmation is old and may be out of date (a revert/reopen would not have invalidated it here); re-verify.
