Open dtrenz opened 2 months ago
There is a similar issue with googleSearchRetrieval, which can be resolved by including only the googleSearchRetrieval tool in the tools array. If we include any other tool besides that, we encounter a 400 INVALID_ARGUMENT error. It appears that when grounding is being used, we cannot currently use any other tool.
Environment details
1.7.0
Steps to reproduce
getGenerativeModel
) with a function calling tool and a Vertex AI Search retrieval tool:startChat()
sendMessageStream
on a ChatSessionError output