# NousResearch/hermes-agent · Cap response body size for account usage JSON fetches

## Open now

- 1 issue, 1 PR open on GitHub.
- #54949: Account usage helpers parse provider JSON responses without a body cap
- PR #54952: Bound account usage JSON response reads

The members share one theme: account usage helpers read JSON responses from provider endpoints without a size limit. Several titles describe changes to bound or stream those reads to limit memory use, but the titles alone do not show whether any change has been merged or verified.

## TL;DR

- 5 member(s): 1 open issue(s), 1 closed issue(s), 1 open PR(s), 0 merged PR(s), 2 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.44`: 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

- #54949: Account usage helpers parse provider JSON responses without a body cap

## Closed / duplicate issues

- #55211: Account usage fetches read unbounded JSON response bodies

## Prior & competing PRs

- **#54952: Bound account usage JSON response reads**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`
  - files: `agent/account_usage.py`, `agent/bounded_response.py`, `tests/agent/test_account_usage.py`, `tests/agent/test_account_usage_fetch.py`, `tests/agent/test_bounded_response.py`
- **#55213: fix(account-usage): stream bounded usage responses**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `44dab4ad4e`, `#54952`
- **#124438: fix(account-usage): cap usage response body to bound memory from hostile endpoints (#54949)**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `5f48df20d3`

## Fix status

- No merged fix on record.
- Subsystem: `agent`
- Kind: `bug` (from the open issues' GitHub type labels).
