response_schema not work for generate_content_stream #14
Labels
priority: p1
Important issue which blocks shipping the next release. Will be fixed prior to next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Thanks for stopping by to let us know something could be better!
PLEASE READ: If you have a support contract with Google, please create an issue in the support console instead of filing on GitHub. This will ensure a timely response.
Is this a client library issue or a product issue? We will only be able to assist with issues that pertain to the behaviors of this library. If the issue you're experiencing is due to the behavior of the product itself, please visit the Support page to reach the most relevant engineers.
If the support paths suggested above still do not result in a resolution, please provide the following details.
Environment details
Steps to reproduce
I follow the tutorial of
json_schema
, but use thestream
mode, will raise error.This is my code:
This is the error:
if I request with
client.models.generate_content
it works, but I need thestream
, Thanks!The text was updated successfully, but these errors were encountered: