NousResearch/hermes-agent

Strip Gemma 4 thought tags from responses

Cluster 6148. Data as of

Nothing open on GitHub. Fix merged in #8562. Check it covers your case.

The short answer

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

A bug was reported and multiple fixes were proposed to remove <thought> reasoning tags from Gemma 4 model responses across different parts of the codebase, including CLI output and agent execution.

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.

  • #8562 fix: strip <thought> tags from Gemma 4 responses

    merged to main

    files: agent/auxiliary_client.py, cli.py, run_agent.py, tests/run_agent/test_run_agent.py

3 PRs closed without merging

From the close comments: closed without comment 1 · merged via another change 1 · other 1

  • #6149 fix: strip <thought> tags from Gemma 4 responses in _strip_think_blocks · merged via another change → #8562
  • #8547 fix(cli): strip gemma thought tags from visible output · other → #6149
  • #8891 fix: support Gemma 4 <thought> reasoning tags in run_agent.py · closed without comment
Closed issues · 1
  • Closed#6148[Bug]: <thought> tags from Gemma 4 not stripped from response content
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.40: 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
#8562
Closed issues
1
Attempts
3 PRs closed without merging
Fix link checked
12 Apr 2026. This confirmation is old and may be out of date (a revert or reopen would not have invalidated it here); re-verify.

For your agent

The same facts, typed.