# NousResearch/hermes-agent · Strip extra fields from API requests on fallback

## Open now

- 1 issue, 1 PR open on GitHub.
- #36907: \[Bug\] Cross-model fallback 400 INVALID_ARGUMENT: gemini-3-flash → gemma-4-31b-it leaks thought_signature
- PR #49218: fix(gemini): strip thought_signature when falling back to Gemma (#36907)

These issues and fixes address extra or internal fields (thought_signature, extra_content) being leaked into API requests, particularly during cross-model fallbacks with Gemini/Gemma and strict APIs like Fireworks and Mistral.

## TL;DR

- 3 member(s): 1 open issue(s), 0 closed issue(s), 1 open PR(s), 0 merged PR(s), 1 PR(s) closed without merging.
- No fix has been merged to main; one or more PRs were attempted (see below).
- **Recommended:** review the prior/competing PR(s) below. A fix was attempted but not merged; your case may extend or revive that work.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `unresolved`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_SPANNING`): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
- Pairwise link density `0.67`: the share of member 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.

## Open related issues

- #36907: \[Bug\] Cross-model fallback 400 INVALID_ARGUMENT: gemini-3-flash → gemma-4-31b-it leaks thought_signature

## Prior & competing PRs

- **#37459: fix(gemini): strip tool call extra_content from chat requests**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `e8c3ac2f5`
- **#49218: fix(gemini): strip thought_signature when falling back to Gemma (#36907)**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `63ddd022a203e48ba0e4617f41c2661f3415e69e`, `e7648d59129ab1709ed111eca3b1d5f11408adac`
  - files: `agent/transports/chat_completions.py`, `tests/agent/transports/test_chat_completions.py`, `tests/run_agent/test_provider_parity.py`

## Fix status

- No merged fix on record.
- Subsystem: `agent`
