What happened to the EOU plugin? ``` ) ^ ...
# agents
b
What happened to the EOU plugin?
Copy code
)
    ^
  File "C:\Users\yethu.krishnan\OneDrive - Provana India Pvt. Ltd\Documents\Provana_Projects\ContactCenterProject\cc-livekitagent\ai-agent\.venv\Lib\site-packages\livekit\plugins\turn_detector\multilingual.py", line 70, in predict_end_of_turn
    return await super().predict_end_of_turn(chat_ctx, timeout=timeout)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\yethu.krishnan\OneDrive - Provana India Pvt. Ltd\Documents\Provana_Projects\ContactCenterProject\cc-livekitagent\ai-agent\.venv\Lib\site-packages\livekit\plugins\turn_detector\base.py", line 288, in predict_end_of_turn
    assert result is not None, "end_of_utterance prediction should always returns a result"
           ^^^^^^^^^^^^^^^^^^
AssertionError: end_of_utterance prediction should always returns a result
    20:29:42.628 ERROR… livekit.agents     Error predicting end of turn
Traceback (most recent call last):
  File "C:\Users\yethu.krishnan\OneDrive - Provana India Pvt.
Ltd\Documents\Provana_Projects\ContactCenterProject\cc-livekitagent\ai-agent\.venv\Lib\site-packages\livekit\agents\voice\audio_recognition.py", line 554, in
_bounce_eou_task
    end_of_turn_probability = await turn_detector.predict_end_of_turn(
                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        chat_ctx
        ^^^^^^^^
    )
    ^
  File "C:\Users\yethu.krishnan\OneDrive - Provana India Pvt.
Ltd\Documents\Provana_Projects\ContactCenterProject\cc-livekitagent\ai-agent\.venv\Lib\site-packages\livekit\plugins\turn_detector\multilingual.py", line 70,
in predict_end_of_turn
    return await super().predict_end_of_turn(chat_ctx, timeout=timeout)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\yethu.krishnan\OneDrive - Provana India Pvt.
Ltd\Documents\Provana_Projects\ContactCenterProject\cc-livekitagent\ai-agent\.venv\Lib\site-packages\livekit\plugins\turn_detector\base.py", line 288, in
predict_end_of_turn
    assert result is not None, "end_of_utterance prediction should always returns a result"
           ^^^^^^^^^^^^^^^^^^
AssertionError: end_of_utterance prediction should always returns a result
l
You run your code from a OneDrive folder? 😮 I have nothing but issues when I accidentally copy code to a cloud backup folder. I'm not saying that is the root cause, just an observation. I haven't seen that error before, and AI is suggesting model corruption, so perhaps try downloading the files again
python agent.py download-files