diff --git a/src/pipecat/services/ultravox/stt.py b/src/pipecat/services/ultravox/stt.py index 7b087d9be..2c40b9214 100644 --- a/src/pipecat/services/ultravox/stt.py +++ b/src/pipecat/services/ultravox/stt.py @@ -425,7 +425,7 @@ class UltravoxSTTService(AIService): if "content" in delta: new_text = delta["content"] if new_text: - yield LLMTextFrame(text=new_text.strip()) + yield LLMTextFrame(text=new_text) # Stop processing metrics after completion await self.stop_processing_metrics()