When using ChatGoogleGenerativeAI together with Conversational Retrieval Agent (in order to use tools like databases) it gives an error
"[GoogleGenerativeAI Error]: Error fetching from
https://generativelanguage.googleapis.com/v1/models/gemini-pro:generateContent
: [400 Bad Request] Please ensure that multiturn requests ends with a user role or a function response"
When using ChatGoogleGenerativeAI together with Conversational Retrieval Agent (in order to use tools like databases) it gives an error
Setup