I'm trying to make it so in my Vapi workflow I can play an audio clip. I tried setting up a Vercel api but it keeps giving me a network error when I test the tool. Any thoughts?
Vapi helps developers build, test, and deploy voice agents at scale. We enable everything in between the raw models and production, including telephony, test suites, and real-time analytics.
Make sure vapi.start() is triggered by user click to avoid browser autoplay blocks, serve your audio file from Vercel’s /public folder not via fs, and if using a Vercel API route, increase the function’s timeout in vercel.json to avoid network errors during streaming..