NousResearch/hermes-agent

Remove maxLength from clarify choices schema for llama.cpp

Cluster 131278. Data as of

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

A bug where the clarify tool's schema included a maxLength constraint that llama.cpp servers cannot parse into a grammar, causing every request to fail. The fixes drop that maxLength field from the choices schema.

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.

  • #131286 fix(clarify): drop maxLength from the choices schema so llama.cpp can parse the grammar

    merged to main

    files: tests/tools/test_schema_sanitizer.py, tools/clarify_tool.py

1 PR closed without merging

From the close comments: superseded by another PR 1

  • #131291 fix(tools): drop schema-level maxLength from clarify choices for llama.cpp servers · superseded by another PR → #131286
Closed issues · 1
  • Closed#131278[Bug]: clarify tool schema `maxLength: 8000` breaks every request on llama.cpp servers ("Failed to initialize samplers: failed to parse grammar")
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
#131286
Closed issues
1
Attempts
1 PR closed without merging
Fix link checked
4 Oct 2026

For your agent

The same facts, typed.