# NousResearch/hermes-agent · Tool calls appearing in content field, not tool_calls

## Open now

- 1 issue, 1 PR open on GitHub.
- #5867: \[Bug\]: Ollama qwen2.5-coder tool calls in content field, not tool_calls — Hermes doesn't execute them
- PR #87900: fix: recover tool calls leaked into content by Ollama's /v1 endpoint

A bug where certain models (Ollama, Kimi, MiniMax, Gemma, Harmony) emit tool calls inside the message content field instead of the standard tool_calls field, along with fixes to detect and promote them correctly.

## TL;DR

- 4 member(s): 1 open issue(s), 0 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.50`: 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

- #5867: \[Bug\]: Ollama qwen2.5-coder tool calls in content field, not tool_calls — Hermes doesn't execute them

## Prior & competing PRs

- **#26353: fix(ollama): promote JSON content tool calls**. closed without merge
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `#6111`, `#5867`
- **#35129: feat(transports): execute tool calls models emit in \`content\` (Ollama/Kimi/MiniMax/Gemma)**. closed without merge
  - maintainer direction: category `wontfix_bydesign`; implication `wontfix`; refs `#29115`, `#5867`, `#12090`, `#24534`, `#27834`
- **#87900: fix: recover tool calls leaked into content by Ollama's /v1 endpoint**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`
  - files: `agent/transports/chat_completions.py`, `tests/agent/transports/test_chat_completions.py`

## Fix status

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