From 91346f5f37655d96e8886af8aa5ee546f49a3e79 Mon Sep 17 00:00:00 2001 From: Sam Sykes Date: Tue, 27 Jan 2026 10:44:35 +0000 Subject: [PATCH] Add support for `self.request_finalize()` for Pipecat-based VAD. --- src/pipecat/services/speechmatics/stt.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pipecat/services/speechmatics/stt.py b/src/pipecat/services/speechmatics/stt.py index 1d25d6af6..752edd98b 100644 --- a/src/pipecat/services/speechmatics/stt.py +++ b/src/pipecat/services/speechmatics/stt.py @@ -693,6 +693,7 @@ class SpeechmaticsSTTService(STTService): f"{self} VADUserStoppedSpeakingFrame received but internal VAD is being used" ) elif not self._enable_vad and self._client is not None: + self.request_finalize() self._client.finalize() async def _send_frames(self, segments: list[dict[str, Any]], finalized: bool = False) -> None: