Gemini tool schema array enum crash fixes
Cluster 55645 · agent. Data as of
Nothing open on GitHub. Fix merged in #105545. Check it covers your case.
The short answer
- Known?
- Yes. 5 related items grouped here, 1 issue already closed.
- Fix event
- A fix was merged to main in PR #105545. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
resolved, deciding PR #105545. That is separate from the fix event. - Still open
- Nothing open on GitHub.
A bug where array-typed parameter schemas with enum values caused a TypeError crash during Gemini tool translation. Multiple fixes address sanitization and schema collapsing to handle this case.
Open issues0
Open PRs0
Fixes on record
-
#105545 fix: native Gemini tool calls survive nullable and union parameters (salvage #55643)
files:
agent/gemini_schema.py,contributors/emails/[redacted:email],evals/gemini_type_array_probe.py,tests/agent/test_gemini_type_arrays.py,website/docs/guides/google-gemini.md
3 PRs closed without merging
From the close comments: done elsewhere 2 · duplicate 1
-
#55643 fix(gemini): collapse array-typed tool schemas instead of crashing translation · done elsewhere →
0d6106e -
#55666 fix(agent): handle list type in Gemini schema enum sanitization · done elsewhere →
0d6106e -
#55691 fix(agent): guard Gemini enum sanitizer for array types · duplicate →
#55666,#55645,#55643
Closed issues · 1
- Closed#55645Native Gemini tool translation crashes (TypeError: unhashable type: 'list') on array-typed parameter schemas with an enum
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.40: 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
- Subsystem
- agent
- Merged PRs
- #105545
- Closed issues
- 1
- Attempts
- 3 PRs closed without merging
- Fix link checked
- 8 Sep 2026