NousResearch/hermes-agent

Idempotency fix for apply_anthropic_cache_control function

Cluster 90971. Data as of

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

A bug was identified where apply_anthropic_cache_control was not idempotent when called on already-decorated input. Two fix attempts and the original bug report are grouped here.

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.

  • #91350 fix(prompt_caching): make apply_anthropic_cache_control idempotent on pre-decorated input (salvage #90972)

    merged to main

    files: agent/prompt_caching.py, tests/agent/test_prompt_caching.py

1 PR closed without merging

From the close comments: done elsewhere 1

  • #90972 fix(prompt_caching): make apply_anthropic_cache_control idempotent on pre-decorated input · done elsewhere → #91350
Closed issues · 1
  • Closed#90971[Bug]: apply_anthropic_cache_control is not idempotent on pre-decorated input (original negative-slice/tool-budget overflow scenarios disproved)
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
#91350
Closed issues
1
Attempts
1 PR closed without merging
Fix link checked
21 Aug 2026

For your agent

The same facts, typed.