Getting literal schema responses since Genkit 0.9.x and corresponding plugin version 0.11.0 #204
Open
1 of 7 tasks
Labels
bug
Something isn't working
Affected plugin(s)
Describe the bug
Inconsistently (happens often, but never consistently) get literal Schema format responses from generate calls:
Instead the response should have just been the fields within 'properties'.
To Reproduce
Send requests using zod schema with this generate statement:
This is shared between calls to gemini and openAI, and worked consistently in older plugin and genkit versions (0.5.17 genkit + <=0.10.1 plugin)
It still works consistently with gemini as well
Expected behavior
Response should just be
Screenshots
N/A
Plugin(s) version:
Started occurring during 0.10.1 -> 0.11.0 genkitx-openai plugin transition
Currently
0.12.0 genkitx-openai
Genkit version:
Started occurring during 0.5.17 -> 0.9.4 transition with Genkit
Currently using 0.9.12
Additional context
Mostly using 4o and 4o-mini models
Schema definition passed into variable outputSchema:
The text was updated successfully, but these errors were encountered: