Files
CLIProxyAPI/internal/util
Luis Pater c9e6e2e314 fix(util): normalize tuple and non-object array items for native Gemini schemas
- Normalize Draft-07 tuple items arrays ([...]) and non-object items values (including boolean items:false) to single Schema objects in sanitizeArrayItems for native protobuf Schema cleaners while preserving standard JSON Schema semantics on parametersJsonSchema.
- Deduplicate homogeneous tuple branches, preserve nullable hints without leaking nullable on Gemini metadata-stripped routes, and distinguish empty-array versus prefixItems-bounded hints for items:false.
- Add unit tests covering tuple arrays, boolean and non-object items, nested/ref/allOf tuples, Antigravity-to-Claude chaining, and idempotency.

Closes: #7763
2026-11-22 03:27:16 +08:00
..
2026-08-09 00:40:57 +08:00