From c2282b0e73b7a0b4d5c5c2f67a3b7bba42141784 Mon Sep 17 00:00:00 2001 From: Sam Sykes Date: Sun, 3 Aug 2025 22:08:22 +0100 Subject: [PATCH] Set `user_id` to "" (not `None`) for `RTVIProcessor`. --- src/pipecat/services/speechmatics/stt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pipecat/services/speechmatics/stt.py b/src/pipecat/services/speechmatics/stt.py index d6c947d38..6859306d3 100644 --- a/src/pipecat/services/speechmatics/stt.py +++ b/src/pipecat/services/speechmatics/stt.py @@ -191,7 +191,7 @@ class SpeakerFragments: passive_format = active_format return { "text": self._format_text(active_format if self.is_active else passive_format), - "user_id": self.speaker_id, + "user_id": self.speaker_id or "", "timestamp": self.timestamp, "language": self.language, "result": [frag.result for frag in self.fragments],