Find answers from the community

Updated last month

Gemini

At a glance
gemini function calling is very hard to debug, lots of errors that are hard to figure out.

if parameter doesnt have type annotation, it throws an error.
if parameter has union or | type annotation it throws another error

and there are a few other errors that i have came across.
L
2 comments
The gemini function call library is definitely NOT user friendly sadly πŸ˜… was very hard to implement even. Their generativeai library is a little frustrating.

Their tool schemas are not normal json schemas, they came up with their own. So annoying. The tool parsing uses some helper from their library is eventually found
The react agent should work alright as well instead
Add a reply
Sign up and join the conversation on Discord