Fix image rejection to preserve session history
Cluster 118053. Data as of
Nothing open on GitHub. Fix merged in #118316 on 21 Sep 2026. Check it covers your case.
The short answer
- Known?
- Yes. 4 related items grouped here, 1 issue already closed.
- Fix event
- A fix was merged to main in PR #118316. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
unresolved. That is separate from the fix event. - Still open
- Nothing open on GitHub.
These issues and PRs address a bug where rejecting an image incorrectly removes all images from the session's persistent state, rather than only stripping the image from the specific request copy. The fix ensures session history is preserved on rejection.
Open issues0
Open PRs0
Fixes on record
-
#118316 fix(agent): image rejection strips the request copy, never session history (salvage of #118054)
files:
agent/agent_init.py,agent/chat_completion_helpers.py,agent/message_sanitization.py,agent/turn_api_request.py,agent/turn_context.py,agent/turn_recovery.py,contributors/emails/[email protected],tests/agent/test_image_corrupt_recovery.py,tests/agent/test_image_rejection_fallback.py,tests/agent/test_turn_context.py
2 PRs closed without merging
From the close comments: merged via another change 1 · superseded by another PR 1
Closed issues · 1
- Closed#118053[Bug]: an image rejection permanently deletes every image in the session from state.db
How this cluster was grouped
-
Link evidence (
structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference. -
Pairwise link density
0.50: 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
- #118316
- Closed issues
- 1
- Attempts
- 2 PRs closed without merging
- Fix link checked
- 21 Sep 2026