Closed ianb closed 4 days ago
@ianb, Thank you reporting this issue. This repository is for issues related to website(https://ai.google.dev/) like documentation bugs or improvements. For issues related to Gemini, we would suggest you to use "Send Feedback" option in Gemini docs. Ref: Screenshot below. You can also post this issue on Discourse forum.
Marking this issue as stale since it has been open for 14 days with no activity. This issue will be closed if no further activity occurs.
This issue was closed because it has been inactive for 28 days. Please post a new issue if you need further assistance. Thanks!
Description of the bug:
I have a tool in my prompt that looks like this (abbreviated):
I get an error like this:
A JSON schema is allowed to have an array of
type
. Both Gemini Flash and 1.5 behave the same way.Actual vs expected behavior:
Actual behavior: returns error
Expected behavior: respects JSON schema