Open collindutter opened 1 month ago
I am not convinced this is related to the library im not sure that function calling itself supports streaming.
https://discuss.ai.google.dev/t/does-function-calling-support-streaming/33075
Thanks. I've passed this to the internal API team (b/356424081)
Argh. This issue is biting me too.
Description of the bug:
Function calling does not work when providing
stop_sequences
andstream=True
.Actual vs expected behavior:
Actual:
No
FunctionCall
is returned.Expected (after removing
stop_sequences
):A
Part
containing aFunctionCall
is returned.Expected (after setting
stream=False
):A
Part
containing aFunctionCall
is returned.Any other information you'd like to share?
I am using version
0.7.2
of this library.