# NousResearch/hermes-agent · Fix tool_choice sent with no tools on summary calls

## Open now

- Nothing open on GitHub.

These issues and PRs address a bug where iteration-limit summary requests incorrectly include tool_choice despite having no tools, causing 400 errors on strict API providers like xAI. The fix removes tool_choice from those specific calls.

## TL;DR

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

- #94139: codex_responses iteration-limit summary sends tool_choice with no tools — 400 on strict providers (xAI), and the process still exits 0

## Prior & competing PRs

- **#32777: \[codex\] fix codex summary calls without tools**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `#108747`
- **#109207: fix(agent): remove tool_choice on iteration-limit summary to avoid xAI 400**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `ac271658d5`, `#32777`

## Fix status

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