From 025f1a59cefcdfc290f061b26d60591f8350108c Mon Sep 17 00:00:00 2001 From: Yera All Date: Tue, 7 Apr 2026 00:44:08 +0500 Subject: [PATCH] chore(ai): lower VAD trailing silence to 500ms to reduce latency --- services/ai_voice_runtime_service/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/ai_voice_runtime_service/app.py b/services/ai_voice_runtime_service/app.py index c238f4c..942dbea 100644 --- a/services/ai_voice_runtime_service/app.py +++ b/services/ai_voice_runtime_service/app.py @@ -114,7 +114,7 @@ def _vad_min_speech_ms() -> int: def _vad_trailing_silence_ms() -> int: - return max(_int_env("AI_VOICE_VAD_TRAILING_SILENCE_MS", 700), _vad_frame_ms()) + return max(_int_env("AI_VOICE_VAD_TRAILING_SILENCE_MS", 500), _vad_frame_ms()) def _turn_max_ms() -> int: