-
Notifications
You must be signed in to change notification settings - Fork 456
Internal error with protobufs and tool use #626
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
duccdev opened this issue
Nov 11, 2024
· 3 comments
· Fixed by Unity-google/generative-ai-python#7 or #684
Closed
Internal error with protobufs and tool use #626
duccdev opened this issue
Nov 11, 2024
· 3 comments
· Fixed by Unity-google/generative-ai-python#7 or #684
Labels
Comments
Hi @duccdev You need to set
|
Closed
Yes. Thanks for reporting! |
6 tasks
Merged
Okay, the "WhichOneOf" error is fixed. But this will still fail:
When you start generating complex responses |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Description of the bug:
I was playing around with tool use and streaming, this was my code:
I got this peculiar error when I prompted it like this:
I am currently using Python 3.13, latest version of the SDK.
This is not an issue on my part as this seems to be a typo in the library.
Actual vs expected behavior:
Actual:
Expected (roughly):
Any other information you'd like to share?
Simply change the typo at
types/generation_types.py
, line 536, from.whichOneof
to.WhichOneof
.The text was updated successfully, but these errors were encountered: