I am getting a 404 on downloading the turn-detecto...
# ask-ai
f
I am getting a 404 on downloading the turn-detector module
t
Thanks for reaching out, Gunjan. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
I'm sorry you're encountering the 404 error when downloading the turn-detector module. This usually happens because the necessary model files haven't been downloaded to your local cache yet. No worries though—we can fix this together! Before you start your agent or build Docker images for deployment, you'll want to download those model files first. For Python:
Copy code
python my_agent.py download-files
For JavaScript/Node.js: • If you're using the Node.js starter template:
Copy code
pnpm download-files
• If you're running the agent directly:
Copy code
node ./your_agent.ts download-files
Also, please make sure the turn detector plugin is installed. For Python, you can do this by running:
Copy code
pip install livekit-plugins-turn-detector
For JavaScript, it's already included in the
@livekit/agents-plugin-livekit
package. If you still face any issues, it might be helpful to check your network connection, confirm that the package is properly installed, and ensure your application has permission to write to the cache directory. Feel free to reach out if you need any more help—I’m here to support you! Sources: plugins/livekit/src/index.ts | livekit-plugins/livekit-plugins-turn-detector/livekit/plugins/turn_detector... | LiveKit turn detector plugin | LiveKit Docs