# NousResearch/hermes-agent · DeepSeek API limits and toolset config bugs

## Open now

- 2 issues, 1 PR open on GitHub.
- #30771: No preflight size check before DeepSeek API calls — silent 400 on bodies over ~880KB
- #61264: \[Bug\]: NVIDIA NIM (deepseek-ai/deepseek-v4-pro) fails with RemoteProtocolError while direct API calls succeed
- PR #114685: fix(agent): preflight body-size check for DeepSeek API (#30771) (salvage of #30809)

Several issues address DeepSeek-specific API constraints including body size preflight checks, reasoning timeout floors, and streaming/protocol errors, plus separate toolset configuration bugs where YAML string values are incorrectly iterated character-by-character.

## TL;DR

- 7 member(s): 2 open issue(s), 1 closed issue(s), 1 open PR(s), 0 merged PR(s), 3 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_PARTIAL`): some members are connected by structural evidence (shared changed files, or a closing/superseded reference); the rest are joined by an automated relevance judgement over their text.
- Members outside that structural core may belong to a different underlying problem.
- Pairwise link density `0.22`: 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

- #30771: No preflight size check before DeepSeek API calls — silent 400 on bodies over ~880KB
- #61264: \[Bug\]: NVIDIA NIM (deepseek-ai/deepseek-v4-pro) fails with RemoteProtocolError while direct API calls succeed

## Closed / duplicate issues

- #29418: \[Bug\]: Nous inference API streaming times out on agent-sized payloads — non-streaming works fine

## Prior & competing PRs

- **#30809: fix(agent): preflight body-size check for DeepSeek API (#30771)**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#114685`
- **#61324: fix(tools): normalize disabled_toolsets from YAML to prevent silent toolset config loss (#61264)**. closed without merge
  - maintainer direction: category `stale_abandoned`; implication `active`
- **#65452: fix(toolsets): coerce string-typed toolset lists instead of iterating characters**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `309cf2c5e2b`
- **#114685: fix(agent): preflight body-size check for DeepSeek API (#30771) (salvage of #30809)**. open
  - maintainer direction: category `silent_close`; implication `active`
  - files: `agent/chat_completion_helpers.py`, `agent/turn_api_call.py`, `tests/agent/test_deepseek_preflight_body_check.py`

## Fix status

- No merged fix on record.
- Subsystem: `agent`
