-
Notifications
You must be signed in to change notification settings - Fork 37
Open
Labels
priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Description
We're launching an instance of this prediction service:
google/ai/generativelanguage/v1main/prediction_service.proto;l=77
The PredictRequest has in instances field that is a repeated protobufs.struct.Value.
No matter what you pass as instances here, the result is "Value must be iterable".
Debugging found that if you pass a list/sequence it gets converted to a struct_pb2.ListValue but the field is a repeated struct._pb2.Value so that fails.
Steps to reproduce
Making sure to follow these steps will guarantee the quickest resolution possible.
Thanks!
markmcd
Metadata
Metadata
Assignees
Labels
priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.