Skip to content

fix(llm): send Gemini structured output as JSON Schema - #254

Merged
wolfy-j merged 2 commits into
masterfrom
fix/gemini-json-schema-memory
Nov 10, 2026
Merged

wolfy-j merged 2 commits into
masterfrom
fix/gemini-json-schema-memory

Conversation

@wolfy-j

@wolfy-j wolfy-j commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

Gemini structured output sends JSON Schema through responseSchema, which uses the OpenAPI Schema message and rejects fields such as additionalProperties. Send the unchanged caller schema through responseJsonSchema, supported by both Generative Language and Vertex AI.

The nested closed-object regression fails before the change and passes afterward. Validation uses the official v0.3.59a runtime: the focused handler passes 34 cases, the full LLM suite passes 2,704 cases with 9 existing conditional integration skips, and scoped lint reports no issues. The focused smoke guard also passes on SQLite and PostgreSQL.

Public contracts, request options, routing, response shapes and stored data remain unchanged.

@wolfy-j
wolfy-j merged commit 74138a2 into master Nov 10, 2026
25 checks passed
@wolfy-j
wolfy-j deleted the fix/gemini-json-schema-memory branch November 10, 2026 14:41
@wippy-releases wippy-releases Bot mentioned this pull request Nov 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant