Hi! I've been trying out adding tools to my agent ...
# agents
q
Hi! I've been trying out adding tools to my agent and its been great, but after each tool call, the agent stops responding with this error log. I can see the generated text response in the logs but no speech seems to be generated. Would appreciate it if anyone has encountered it or has any insight thanks! {"level":50,"time":1762300323335,"pid":572,"hostname":"deployment-p-7e3pahkskkp-ca-atrnnsqxoudr-566cff66b5-fzzqh","msg":"Error in SynthesizeStream"}
👍 1
l
Looks like that error is coming from the TTS of the JavaScript agents library, https://github.com/livekit/agents-js/blob/main/agents/src/inference/tts.ts#L424, is that right? Do you also see errors with the basic tool call agent example, https://github.com/livekit/agents-js/blob/main/examples/src/basic_tool_call_agent.ts ?