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
Copy Markdown

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"]).

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