File Name
gemini/function-calling/forced_function_calling.ipynb
What happened?
When running through the notebook, it's found that regardless we set the ToolConfig.FunctionCallingConfig.Mode to AUTO or ANY, the response from Gemini 1.5 Pro always responds back with two parts, one of text and the other of "function_call" as below:
This is not aligned with the forced function call which is supposed to respond back with only one parts of function_call.
In addition, as a side effect, in the step of getting params in the section of "Example: Using Forced Function Calling mode (ANY)" , we have to correct parts[0] to part[1] to make the notebook code cell work as shown below:
Relevant log output
No response
Code of Conduct