Codex cache key exceeds 64-char limit causing 400 errors
NousResearch/hermes-agent · cluster 62063
Data as of
Nothing open on GitHub. Fix merged in #66330. Check it covers your case.
The short answer
- Known?
- Yes. 9 related items grouped here, 2 issues already closed.
- Fix event
- A fix was merged to main in PR #66330. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
partially resolved, deciding PR #66330. That is separate from the fix event. - Still open
- Nothing open on GitHub.
Multiple fixes and a bug report address an over-length prompt_cache_key being sent to the OpenAI Codex/ChatGPT backend, triggering HTTP 400 rejections. The cluster centers on capping or hashing the cache key to fit within the 64-character limit.
Open issues0
Open PRs0
Fixes on record
-
#66330 fix(codex): bound cache keys at provider boundaries
files:
agent/transports/codex.py,scripts/release.py,tests/agent/transports/test_codex_transport.py,tests/run_agent/test_run_agent_codex_responses.py
6 PRs closed without merging
From the close comments: duplicate 3 · superseded by another PR 2 · done elsewhere 1
-
#62266 fix(codex): clamp prompt_cache_key to 64 chars for Codex/ChatGPT backend · duplicate →
#24273,#62063,#26468,#28307,#51037 -
#66050 fix: guard float infinity in stale timeout display and truncate codex cache key (#65746, #66045) · superseded by another PR →
#66139,#66272 -
#66053 fix: cap prompt_cache_key at 64 chars to avoid OpenAI Codex 400 error (#66045) · duplicate →
#24273 -
#66245 fix(codex): hash over-length prompt_cache_key to fit 64-char limit · done elsewhere →
61bbc39,#66330 -
#66272 fix: cap cache-scope headers at 64 chars to avoid Codex 400 error (#66045) · duplicate →
#24273
Show 1 more
-
#66302 fix(runtime): recover stale model and cache state · superseded by another PR →
#66330,#66331,#66332
Closed issues · 2
How this cluster was grouped
-
Link evidence (
partly structural links): 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.20: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36.1.00means every pair is linked.
Pick up a Lab task
Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.
Open the LabAt a glance
- Merged PRs
- #66330
- Closed issues
- 2
- Attempts
- 6 PRs closed without merging
- Fix link checked
- 17 Jul 2026