Skip to content

fix(gemini): switch structured output to response_json_schema#975

Open
cainydev wants to merge 1 commit intoprism-php:mainfrom
cainydev:fix/gemini-response-json-schema
Open

fix(gemini): switch structured output to response_json_schema#975
cainydev wants to merge 1 commit intoprism-php:mainfrom
cainydev:fix/gemini-response-json-schema

Conversation

@cainydev
Copy link

Fixes #974.

Switches Gemini structured output from response_schema to response_json_schema, fixing 400 errors caused by additionalProperties in nested objects and nullable union types ("type": ["string", "null"]).

@cainydev cainydev force-pushed the fix/gemini-response-json-schema branch from eed5ea3 to 5dff1ec Compare March 23, 2026 17:46
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.

Gemini: Switch structured output from response_schema to response_json_schema to support full JSON Schema

1 participant