Multimodal Live API Returns Executable Code Instead of Expected Function Call Response

Hi,

Looks like it’s mixing Function Calling with Code Execution.
Don’t forget that Multimodel Live API is still marked as Experimental.

Hmm, the BiDiGenerateContent method has been removed recently. Maybe it’s related to that.

Anyways. see the https://github.com/google-gemini/cookbook/blob/main/quickstarts/Get_started_LiveAPI_tools.ipynb notebook on GitHub.

And it seems that your code needs to handle the response with function call(s), or any other tool specified, ie. code_execution or google_search.

Cheers