Facing difficulty using Gemini Flash 2.0 with function calling #4878
Labels
0.2
Issues which are related to the pre 0.4 codebase
awaiting-op-response
Issue or pr has been triaged or responded to and is now awaiting a reply from the original poster
needs-triage
What happened?
Whenever there's a function call with Gemini Flash 2.0 in autogen, I get this error:
Google GenAI exception occurred while calling Gemini API: 400 * GenerateContentRequest.tools[0].function_declarations[0].parameters.properties: should be non-empty for OBJECT type
What did you expect to happen?
It should be able to use the tool call properly.
How can we reproduce it (as minimally and precisely as possible)?
Just an assistantagent with a function call should be able to reproduce it.
AutoGen version
0.2
Which package was this bug in
Core
Model used
Gemini flash 2.0 exp
Python version
3.11
Operating system
Ubuntu 22.04
Any additional info you think would be helpful for fixing this bug
No response
The text was updated successfully, but these errors were encountered: