# NousResearch/hermes-agent · Duplicate tool call_id across turns causes 400 errors

## Open now

- Nothing open on GitHub.

A bug where replayed tool call_ids recurring across conversation turns trigger 400 errors due to duplicate function_call_output entries. Multiple fixes address uniquifying these call_ids to prevent the conflict.

## TL;DR

- 4 member(s): 0 open issue(s), 1 closed issue(s), 0 open PR(s), 1 merged PR(s), 2 PR(s) closed without merging.
- A fix was merged to main in PR #111443. Verify it addresses your case.
- **Recommended:** read PR #111443 (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: `resolved` · deciding PR(s): `pr-111443`. 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.

## Closed / duplicate issues

- #102629: \[BUG\] codex: duplicate stored tool call_id across turns bricks every Responses request with 400

## Prior & competing PRs

- **#111443: fix(codex): replayed tool call_ids that recur across turns no longer 400 with duplicate function_call_output (#102629, #111231, salvage #102634)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `agent/codex_responses_adapter.py`, `tests/agent/test_codex_responses_adapter.py`
- **#102634: fix(codex): uniquify replayed call_ids that recur across turns**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `#102629`
- **#102640: fix(codex): uniquify replayed call_id repeats across turns (#102629)**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#111443`, `#111231`

## Fix status

- Merged to main in PR #111443 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-09-15`.
