# NousResearch/hermes-agent · Adding models to TOOL_USE_ENFORCEMENT_MODELS list

## Open now

- Nothing open on GitHub.

These issues and PRs concern adding Qwen, DeepSeek, Claude, and Grok models to the TOOL_USE_ENFORCEMENT_MODELS list. A bug report notes that omitting Qwen and DeepSeek from this list causes hallucination in auto-mode tool use enforcement.

## TL;DR

- 4 member(s): 0 open issue(s), 2 closed issue(s), 0 open PR(s), 1 merged PR(s), 1 PR(s) closed without merging.
- A fix was merged to main in PR #28348. Verify it addresses your case.
- **Recommended:** read PR #28348 (and any competing PRs below) before filing. Confirm the merged change covers your symptom.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `partially_resolved` · deciding PR(s): `pr-28348`. 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.39`: 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.

## Closed / duplicate issues

- #5530: Add "grok" to TOOL_USE_ENFORCEMENT_MODELS for direct xAI usage
- #28079: \[Bug/Regression\] tool_use_enforcement auto-mode excludes Qwen/DeepSeek causing hallucination

## Prior & competing PRs

- **#28348: fix(agent): add qwen and deepseek to TOOL_USE_ENFORCEMENT_MODELS (#28195)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`; implication `superseded`
  - files: `agent/prompt_builder.py`, `tests/agent/test_prompt_builder.py`, `tests/run_agent/test_run_agent.py`
- **#28195: fix(agent): add qwen and deepseek to TOOL_USE_ENFORCEMENT_MODELS**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `756900723a64cb3cbd17bb720773daca9ebabcb1`, `#28348`

## Fix status

- Merged to main in PR #28348 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-05-19`.
- Subsystem: `agent`
