Why Gemini API function calling response using old function definition even after changing tools in genai.GenerativeModel?
I want to build a django application that uses Google Gemini API at the backend. The challenge I have is that , the function call parameters change ( though very rarely ) based on a database entry. consider I have an enum as input arg to the function and whenever a new row is created I want to add new enum to this function definition. so this change take place quickly. but unfortunately this doesn’t happen, instead the Gemini responds with response that looks it doesn’t know about the change.