NousResearch/hermes-agent

Gemma 4 context length metadata fixes

Cluster 12976. Data as of

Nothing open on GitHub. Fix merged in #14198 on 22 Apr 2026. Check it covers your case.

The short answer

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

These issues and pull requests address a bug where Gemma 4 models were incorrectly assigned an 8K context length instead of 256K. The fixes add or correct model metadata entries covering various naming conventions for Gemma 4, including Ollama-style naming.

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.

  • #14198 fix(model_metadata): add gemma-4 / gemma4 context-length entries

    merged to main

    files: agent/model_metadata.py, scripts/release.py

    Show the diff
    • agent/model_metadata.py
      @@ -133,6 +133,8 @@ def _strip_provider_prefix(model: str) -> str:
           # Google
           "gemini": 1048576,
           # Gemma (open models served via AI Studio)
      +    "gemma-4": 256000,  # Gemma 4 family
      +    "gemma4": 256000,  # Ollama-style naming (e.g. gemma4:31b-cloud)
           "gemma-4-31b": 256000,
           "gemma-3": 131072,
           "gemma": 8192,  # fallback for older gemma models
    • scripts/release.py
      @@ -343,6 +343,7 @@
           "[redacted:email]": "pinion05",
           "[email protected]": "VTRiot",
           "[redacted:email]": "iamagenius00",
      +    "[email protected]": "Feranmi10",
       }
       
       

2 PRs closed without merging

From the close comments: done elsewhere 1 · merged via another change 1

  • #13000 fix(model_metadata): add Ollama-style naming for Gemma 4 context length · done elsewhere → #12976
  • #14174 fix(model_metadata): add gemma-4 and gemma4 context length entries · merged via another change → #14198, #12976
Closed issues · 1
  • Closed#12976Bug: Gemma 4 models hardcoded with 8K context instead of 256K
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.50: 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
#14198
Closed issues
1
Attempts
2 PRs closed without merging
Fix link checked
22 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.