NousResearch/hermes-agent

Insights crash fix for non-numeric DB values

Cluster 71026 · agent. Data as of

2 open items. Fix attempted, not merged.

The short answer

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

A bug where the /insights endpoint crashes with a TypeError when encountering non-numeric database values during reconciliation and model breakdown computation. Multiple fixes and a helper function address safe integer conversion in these code paths.

Open issues1

  • Issue#71026[Bug]: /insights crashes with TypeError: unsupported operand type(s) for -: 'str' and 'int'

Open PRs1

  • PR#71013fix(insights): guard against non-numeric DB values in token/call reconciliation

2 PRs closed without merging

From the close comments: superseded by another PR 2

  • #71082 fix(insights): guard against non-numeric DB values in _compute_model_breakdown (#71026) · superseded by another PR → #71013
  • #71392 fix(insights): use _safe_int() for non-numeric DB values in reconciliation · superseded by another PR → #71013
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.50: 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
0
Attempts
2 PRs closed without merging

For your agent

The same facts, typed.