# NousResearch/hermes-agent · Agent message sanitization and model list fixes

## Open now

- 1 issue, 2 PRs open on GitHub.
- #53520: kimi-k2.7-code missing from kimi-coding-cn provider model list
- PR #31615: fix(agent): normalize empty tool-call content for strict chat APIs
- PR #53532: fix(kimi): add kimi-k2.7-code to kimi-coding-cn and moonshot model lists

Multiple fixes for normalizing assistant message content and tool_calls fields to satisfy strict API requirements (Anthropic, DeepSeek, etc.), plus additions of kimi-k2.7-code to provider model lists.

## TL;DR

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

- #53520: kimi-k2.7-code missing from kimi-coding-cn provider model list

## Prior & competing PRs

- **#12470: fix: preserve None content in assistant messages (#11906)**. closed without merge
  - maintainer direction: category `stale_abandoned`; implication `active`; refs `4b25619bc4770396faf206429ddc180ad02231a9`, `#11929`
- **#12737: fix(agent): normalize empty assistant content to None for Anthropic compatibility**. closed without merge
  - maintainer direction: category `uncategorized`; implication `needs_llm`
- **#29168: fix(agent): merge consecutive assistant tool_calls before orphan-tool drop (#29148)**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `cbe397ef458bc715ce82451e722ee0e45a67687e`, `#55603`, `#29148`, `#49147`, `#49162`, `#34510`
- **#31615: fix(agent): normalize empty tool-call content for strict chat APIs**. open
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#31615`, `#31582`, `#31175`
  - files: `agent/reasoning_params.py`, `agent/transports/chat_completions.py`, `tests/agent/test_partial_stream_finish_reason.py`, `tests/agent/transports/test_chat_completions_empty_tool_call_content.py`
- **#53532: fix(kimi): add kimi-k2.7-code to kimi-coding-cn and moonshot model lists**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`
  - files: `hermes_cli/models.py`, `hermes_cli/setup.py`
- **#64345: fix(sanitize): drop tool_calls key when dedup removes all calls**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `#86654`, `#77944`, `#72591`
- **#64843: fix(agent): prevent empty tool_calls arrays to fix DeepSeek V4 HTTP 400 errors**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `#86654`, `#64345`, `#77944`, `#72591`

## Fix status

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