FlowiseAI / Flowise

Drag & drop UI to build your customized LLM flow
https://flowiseai.com
Apache License 2.0
29.47k stars 15.25k forks source link

[BUG] "ChatGoogleGenerativeAI" together with "Conversational Retrieval Agent" not work #1580

Open fejdraus opened 7 months ago

fejdraus commented 7 months ago

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"

image

Setup

HenryHengZJ commented 7 months ago

for now it doesnt work with gemini due to ther underlying prompt being used in agent

fejdraus commented 7 months ago

Is it possible to make an agent separately like they did for OpenAI?