Current Behavior:
The plugin places the generated text into message.text, causing Genkit's internal validation to fail with the "must have required property 'content'" error, preventing the user's Zod schema from ever being applied. Genkit's ai.generate() won't validate the response if message.content is missing, even if the text is valid JSON. This blocks the structured output flow early.
Expected Behavior:
The plugin should populate message.content with a text entry instead of message.text. This would allow structured output parsing to work correctly.