Bug fix: dict-valued 'type' key crashes payload estimator
Cluster 104793. Data as of
Nothing open on GitHub. Fix merged in #104840 on 7 Sep 2026. Check it covers your case.
The short answer
- Known?
- Yes. 3 related items grouped here, 1 issue already closed.
- Fix event
- A fix was merged to main in PR #104840. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
resolved, deciding PR #104840. That is separate from the fix event. - Still open
- Nothing open on GitHub.
A TypeError was raised in the watchdog payload estimator when a tool JSON schema contained a property named 'type' with a dict value instead of a string. Two fix attempts address this by making the estimator tolerate such schema-valued keys.
Open issues0
Open PRs0
Fixes on record
-
#104840 fix(agent): tool schemas no longer crash provider requests (salvage #104804)
files:
agent/chat_completion_helpers.py,tests/agent/test_context_estimator_multimodal.py
1 PR closed without merging
From the close comments: done elsewhere 1
-
#104804 fix(agent): tolerate schema-valued "type" keys in the watchdog payload estimator (#104793) · done elsewhere →
3c9c225,#104795
Closed issues · 1
- Closed#104793[Bug] TypeError: unhashable type 'dict' in _payload_chars() when a tool JSON schema has a property named "type"
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.67: 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
- #104840
- Closed issues
- 1
- Attempts
- 1 PR closed without merging
- Fix link checked
- 7 Sep 2026