Token count not saved to session database

NousResearch/hermes-agent · cluster 47201 · agent

Data as of

2 open items. Fix attempted, not merged.

The short answer

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

The token_count column for assistant messages exists in the schema but is never written to the database. These issues and fixes address persisting per-message token counts to the session state store.

Open issues2

  • Issue#47201messages.token_count column is defined but never populated (always NULL)
  • Issue#58719Cron sessions should persist per-message token_count to state.db

Open PRs0

No open pull requests.

1 PR closed without merging

From the close comments: superseded by another PR 1

  • #58846 fix: persist assistant message token_count to session DB · superseded by another PR → #47424
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.45: 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
1 PR closed without merging

For your agent

The same facts, typed.