wooden-solstice-35084
11/12/2025, 10:37 AM.venv/lib/python3.13/site-packages/livekit/agents/voice/agent_activity.py", line 1433, in _user_turn_completed_task
model_name=self.turn_detection.model, model_provider=self.turn_detection.provider
^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'MultilingualModel' object has no attribute 'model'
Getting the above error, it seems to be stemming from internal livekit codetall-airline-16756
11/12/2025, 10:37 AMtall-airline-16756
11/12/2025, 10:37 AMAttributeError: 'MultilingualModel' object has no attribute 'model'. This usually happens because the MultilingualModel class provides a model property rather than a direct attribute. Let's work through some steps to get this sorted out together:
1. Make sure you're accessing it correctly as detector.model, not as a direct attribute or method.
2. Check that all the necessary model files are downloaded by running python my_agent.py download-files.
3. If you've subclassed MultilingualModel, please verify that super().__init__() is called in your subclass constructor.
4. Also, confirm that your livekit-plugins-turn-detector and livekit-agents packages are compatible and up to date. You can update them using pip install livekit-plugins-turn-detector.
If you're still facing issues after these steps, please feel free to share more details about your setup or any custom code you've added. I'm here to help you through this!
Sources: LiveKit turn detector plugin | LiveKit Docs | complex-agents/turn-taking/README.md | Speech-to-text (STT) models | LiveKit Docs | livekit-plugins/livekit-plugins-turn-detector/livekit/plugins/turn_detector...wooden-solstice-35084
11/12/2025, 10:40 AMtall-airline-16756
11/12/2025, 10:42 AMMultilingualModel directly in the AgentSession for turn detection. Let’s walk through some steps together to make sure everything is set up just right:
1. First, please double-check that all the necessary model files are downloaded by running python your_agent.py download-files. Sometimes missing files can cause those tricky initialization issues.
2. Next, make sure you’re importing the model correctly with from livekit.plugins.turn_detector.multilingual import MultilingualModel.
3. It’s also important to confirm that your AgentSession includes all the required components like stt, llm, and vad, along with turn_detection=MultilingualModel().
4. Check that your system has enough resources, such as around 500MB of RAM and supports CPU-based inference, to run the model smoothly.
5. Lastly, please ensure your livekit-plugins-turn-detector package is up-to-date and compatible with your version of LiveKit Agents.
If you’re still running into issues after these steps, don’t hesitate to share the exact error message and stack trace with me, along with some details about your environment. I’m here to help you get this working perfectly!
Sources: examples/drive-thru/drivethru_agent.py | Voice AI quickstart | LiveKit docs | agent.py | LiveKit turn detector plugin | LiveKit Docs | complex-agents/turn-taking/agent.py