NousResearch/hermes-agent

Add name field to tool messages for Gemini

Cluster 16478. Data as of

Nothing open on GitHub. Fix merged in #19728 on 4 May 2026. Check it covers your case.

The short answer

0open issues
0open PRs
3items grouped
Known?
Yes. 3 related items grouped here, 1 issue already closed.
Fix event
A fix was merged to main in PR #19728. Check it covers your case. No release data is tracked.
Tracker
The maintainers' tracker marks this unresolved. That is separate from the fix event.
Still open
Nothing open on GitHub.

These issues and PRs address a missing name field on role:tool messages that causes HTTP 400 errors with the Gemini API. The fix ensures the name field is included on every such message for compatibility.

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.

  • #19728 fix(agent): include name field on every role:tool message for Gemini compatibility

    merged to main

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

1 PR closed without merging

From the close comments: merged via another change 1

  • #16482 fix(agent): include name field on every role:tool message for Gemini compatibility · merged via another change → #19728
Closed issues · 1
  • Closed#16478Fix: Missing `name` field in tool messages causes Gemini API HTTP 400
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
#19728
Closed issues
1
Attempts
1 PR closed without merging
Fix link checked
4 May 2026

For your agent

The same facts, typed.