i am using llm gemini 2.0 flash in my tts-llm-tts ...
# agents
g
i am using llm gemini 2.0 flash in my tts-llm-tts voice agent. however sometime the llm tool call gets leaked in the tts plugin. how to avoid this ?
j
could this be a problem of the llm that outputs tool call as plain text? some gemini models have this issue as far as I know
🙌 1
b
Yeah, this is one of the ways an llm can fail to call a tool. I have seen this behaviour with gemini before. I'd see it happen way less often with gemini 2.5 flash. Trying to make the tools not too complex in number or types of arguments also helps
🙌 1
g
okay thank you yes it was llm outputing the tool as plain text