shy-lion-7340
06/05/2025, 11:02 PMdef prewarm(proc: JobProcess):
    proc.userdata["vad"] = silero.VAD.load(
        min_speech_duration=0.25,
        min_silence_duration=1.0,
        prefix_padding_duration=0.3,
        activation_threshold=0.6,
        sample_rate=16000,
        force_cpu=True,
    )  and agent = Assistant()
    session = AgentSession(
        vad=ctx.proc.userdata["vad"],
        # vad=silero.VAD.load(),
        stt=sst_openai,
        llm=llm_openai,
        tts=tts_openai,
        turn_detection=MultilingualModel(),
    ) ,  lantency is very long # ❗ Problem: seeing too many VAD inferences / too frequent VAD triggering in LiveKit’s voice pipeline.
#  If Silero VAD is being triggered too frequently, you need to throttle the VAD input or adjust Silero parameters.tall-airline-16756
06/05/2025, 11:03 PMtall-airline-16756
06/05/2025, 11:03 PM