NousResearch/hermes-agent

Duplicate tool call detection with reordered JSON keys

Cluster 86871. Data as of

Nothing open on GitHub. Fix attempted, not merged.

The short answer

0open issues
0open PRs
3items grouped
Known?
Yes. 3 related items grouped here, 1 issue 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 resolved, deciding PR #86887. That is separate from the fix event.
Still open
Nothing open on GitHub.

These members address a bug where tool calls with identical arguments but different JSON key ordering were not recognized as duplicates, causing repeated or missed tool actions in chat completions.

Open issues0

No open issues.

Open PRs0

No open pull requests.

Fixes on record

Merged to main. A stamp counts the issues a fix is linked to.

  • #86887 fix(agent): prevent reordered arguments from repeating tool actions

    merged to main

    files: run_agent.py, tests/run_agent/test_agent_guardrails.py

1 PR closed without merging

From the close comments: superseded by another PR 1

  • #87160 Fix: Chat Completions misses duplicate tool calls when JSON argument key order differs · superseded by another PR → #86887
Closed issues · 1
  • Closed#86871[Bug]: Chat Completions misses duplicate tool calls when JSON argument key order differs
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

Merged PRs
#86887
Closed issues
1
Attempts
1 PR closed without merging

For your agent

The same facts, typed.