Open jeff-treuting opened 1 week ago
I am hitting the same issue.
It appears the issue is form Gemini. Here is the place in the gemini code where the error message comes from and seems like it is not supported at this point:
Hi, just to clarify, is this using the Vertex AI plugin? The package you linked is from Google AI, but the title of the issue mentions Vertex.
Could you provide your configureGenkit options? (redacting anything sensitive of course)
Describe the bug When calling generate with an array of available tools and providing the context parameter the results of a Firestore Retriever call, the call errors out with the following error:
To Reproduce Here is some simplified code that shows the setup that produces the error for me every time. When I comment out passing in the context, it works as expected.
Expected behavior I would expect to be able to get results that utilize a cusotm tool for retrieving information form a data source and provide context from a retriever as well.
Runtime (please complete the following information):