You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{"error": {"code": 400,"message": "* GenerateContentRequest.generation_config.response_schema.properties[evening_routines].items.type: must be specified when not using one_of\n","status": "INVALID_ARGUMENT"}}
This is the error I get when I try to stream a structured response using the schema below on google-experimental-1206 model.
cloudycotton
changed the title
must be specified when not using one_of - error on structured output using zod on google provider using gemini-1206
must be specified when not using one_of - error on structured output using zod on google provider
Dec 19, 2024
Hi there, we are looking into this, thanks for raising.
In the immediate term as a workaround, it looks like if you define separate schemas for Morning and Evening products (even if the definition is the same) it will fix the issue.
Description
This is the error I get when I try to stream a structured response using the schema below on google-experimental-1206 model.
Code example
AI provider
^4.0.20 and 1.0.10 for google provider.
|
Additional context
No response
The text was updated successfully, but these errors were encountered: