So im trying to integrate Gemini in my document editor with function calling and its working fine in Gemini studio, but when im trying the same using api it is doing random stuff using function call,
even for a simple message like hello its using function calling and performing some random nonsensical function call???
Here is the screencap video of it if you wanna see it: https://youtu.be/rKqFQ_WR6v4
edit: ive tried changing system prompts/removing adding functions but its still doing this stuff