future-honey-73772
08/27/2025, 12:19 AMWARNING:livekit.plugins.turn_detector:Language en not supported by EOU model
I'm finding this occurs for multiple different languages where the language code in the warning message would be one that I expect to be supported. I'm using a custom STT module with the multilingual model as follows:
Agent init:
turn_detector = MultilingualModel()
STT return:
return stt.SpeechEvent(
type=stt.SpeechEventType.FINAL_TRANSCRIPT,
alternatives=[
stt.SpeechData(text=transcription or "", language=detected_language_code or "")
],
)
This is failing when the detected_language_code is say en or de so I wonder if the custom STT return isn't interfacing correctly with the turn detection model. Any feedback on this would be much appreciated!future-honey-73772
09/07/2025, 7:01 PMpython agent.py dev
I see informative logs such as:
2025-09-07 13:40:33,626 - DEBUG livekit.plugins.turn_detector - eou prediction {"eou_probability": 0.00027661482454277575, "input": ...
Whereas when registering the identical agent with the cloud server I see the warning:
{
"message": "Language en not supported by EOU model",
"level": "WARNING",
"name": "livekit.plugins.turn_detector",
"pid": 106,
"job_id": "AJ_pxBiqpBMD6pj",
"timestamp": "2025-09-07T18:46:26.408305+00:00"
}
After testing different speech patterns it appears that in both cases the EOU is working correctly (both locally and deployed to the server), when using clear mid phrase pauses such as "I am here because" the turn detection waits for a longer period of time than the minimum set time.
Has anyone else seen this behavior? Is this likely to be an implementation issue on my side or a potential/known bug in the EOU model with cloud deployments?