NousResearch/hermes-agent

Drop empty assistant messages before provider call

Cluster 82924 · 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.

These issues and PRs address a bug where the pre-call sanitizer or deduplication logic can produce empty assistant messages, which then cause a non-retryable HTTP 400 error from the provider. The fixes involve filtering out such empty messages before they are sent.

Open issues1

  • Issue#82924Pre-call sanitizer can emit an empty assistant message, causing a non-retryable HTTP 400

Open PRs1

  • PR#83038fix(agent): drop empty assistant messages after tool_call_id dedup

2 PRs closed without merging

From the close comments: duplicate 2

  • #83245 fix(agent): drop empty assistant messages after tool_calls dedup (#82924) · duplicate → #83038
  • #83748 fix(agent): drop empty assistant messages before they reach the provider · duplicate → #83038
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.