NousResearch/hermes-agent

Fix malformed tool_use input in Anthropic agent history

Cluster 118240 · agent. Data as of

2 open items. Fix attempted, not merged.

The short answer

1open issue
1open PR
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
1 issue and 1 PR.

These members address a bug where a tool_use.input field containing a list instead of a dict causes subsequent Anthropic API calls to fail. The proposed fix coerces non-dict tool inputs at request-build time to prevent malformed conversation history from breaking future calls.

Open issues1

  • Issue#118240Malformed `tool_use.input` (list instead of dict) is not repaired in conversation history, kills the next API call

Open PRs1

  • PR#118253fix(agent): coerce non-dict tool_use.input at request-build time so malformed history cannot fail the next Anthropic call

1 PR closed without merging

From the close comments: done elsewhere 1

  • #118245 fix(agent): repair malformed Anthropic tool inputs · done elsewhere → #118253, #118240
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.67: 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.