HTTP 422 errors from multimodal content in tool messages
Cluster 104731. Data as of
Nothing open on GitHub. Fix merged in #106466 on 9 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 #106466. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
resolved, deciding PR #106466. That is separate from the fix event. - Still open
- Nothing open on GitHub.
These issues and PRs concern a bug where image or multimodal content embedded in tool messages causes HTTP 422 errors from the OpenCode Go relay, and proposed fixes to validate or veto such content before it reaches the upstream.
Open issues0
Open PRs0
Fixes on record
-
#106466 OpenCode Go screenshots no longer kill the session on HTTP 422 (#104731, #89057, salvage #104734 #47026)
files:
agent/error_classifier.py,contributors/emails/[redacted:email],plugins/model-providers/opencode-zen/__init__.py,tests/plugins/model_providers/test_opencode_go_profile.py,tests/run_agent/test_multimodal_tool_content_recovery.py
2 PRs closed without merging
From the close comments: merged via another change 2
-
#104734 fix(providers,agent): handle strict-string tool message validation and 422 on opencode-go (#104731) · merged via another change →
fd6434b,#106466 -
#104736 fix(providers): veto multimodal tool-result content for opencode-go (Console Go 422) · merged via another change →
fd6434b,#106466,#47026,#104734
Closed issues · 1
- Closed#104731[Bug]: HTTP 422 from Console Go relay: vision_analyze embeds image parts in tool messages the upstream rejects (messages.N.tool.content.str)
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
- #106466
- Closed issues
- 1
- Attempts
- 2 PRs closed without merging
- Fix link checked
- 9 Sep 2026