'Generation resulted in no candidates matching provided output schema' when optional fields returns null #486
-
When the For testing purpose, to see if it's indeed the optional fields causing the issue, I changed My understanding is, when using dotprompt, Using dotprompt
When using zod, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
This was super annoying to me as well! I recently fixed it in #407 and in the next release nulls should be acceptable. |
Beta Was this translation helpful? Give feedback.
This was super annoying to me as well! I recently fixed it in #407 and in the next release nulls should be acceptable.