NousResearch/hermes-agent

Gemini 400 error on schema-shaped tool results

Cluster 93014. Data as of

Nothing open on GitHub. Fix merged in #93393 on 24 Aug 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 #93393. Check it covers your case. No release data is tracked.
Tracker
The maintainers' tracker marks this resolved, deciding PR #93393. That is separate from the fix event.
Still open
Nothing open on GitHub.

These items concern a Gemini API rejection of tool results containing JSON-Schema fields like $ref and $defs, and a proposed fix that wraps such results as opaque text to avoid the error.

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.

  • #93393 Gemini turns no longer 400 on schema-shaped tool results (#93014, salvage #93015)

    merged to main

    files: agent/gemini_native_adapter.py, contributors/emails/[email protected], tests/agent/test_gemini_native_adapter.py

1 PR closed without merging

From the close comments: merged via another change 1

  • #93015 fix(gemini): wrap schema-bearing tool results as opaque text · merged via another change → 4bc31a4, #93393
Closed issues · 1
  • Closed#93014Gemini 3.x rejects tool results containing JSON-Schema $ref/$defs (400 INVALID_ARGUMENT)
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
#93393
Closed issues
1
Attempts
1 PR closed without merging
Fix link checked
24 Aug 2026

For your agent

The same facts, typed.