ty @Subhankar Ghosh and @Shaunak
another question regarding the query tool.
so we use vapi's query-tool with gemini-2.5-flash model.
when observing past calls that has query-tool invocation; I've noticed a pattern:
- There is data X in knowledgebase. Assume its a simple line of text like "**Object weight: 100kg**"
- query-tool is called
- query-tool's result is a generated response out of knowledgebase data. It's like "**The object you are interested in weighs 100kg**".
- our assistant re-processes the query-tool's response and generates Response B like "**The object you are interested in weighs 100kg, quite heavy isn't it?**"
so there is
Data X in knowledgebase
query-tool generates Response A out of Data X
our assistant generates Response B out of Response A
is this the expected behaviour?
either query-tool's extra response generation or our assistant's extra response generation "feels" like an unecessary operation