Internal error with protobufs and tool use #626
Labels
component:python sdk
Issue/PR related to Python SDK
status:triaged
Issue/PR triaged to the corresponding sub-team
type:bug
Something isn't working
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: