diff --git a/CHANGELOG.md b/CHANGELOG.md index 01b83c047..62fea69f2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,9 @@ asyncio.set_event_loop_policy(uvloop.EventLoopPolicy()) ### Fixed +- Fixed an `AssemblyAISTTService` issue that could cause unexpected behavior + when yielding empty `Frame()`s. + - Fixed an issue where `OutputAudioRawFrame.transport_destination` was being reset to `None` instead of retaining its intended value before sending the audio frame to `write_audio_frame`. @@ -28,8 +31,8 @@ asyncio.set_event_loop_policy(uvloop.EventLoopPolicy()) ### Added -- Added an `websocket` example, showing how to use the new Pipecat client - `WebsocketTransport` to connect with Pipecat `FastAPIWebsocketTransport` or +- Added an `websocket` example, showing how to use the new Pipecat client + `WebsocketTransport` to connect with Pipecat `FastAPIWebsocketTransport` or `WebsocketServerTransport`. ## [0.0.69] - 2025-06-02 "AI Engineer World's Fair release" ✨ diff --git a/src/pipecat/services/assemblyai/stt.py b/src/pipecat/services/assemblyai/stt.py index c7e1d9e48..14d9fb397 100644 --- a/src/pipecat/services/assemblyai/stt.py +++ b/src/pipecat/services/assemblyai/stt.py @@ -98,7 +98,7 @@ class AssemblyAISTTService(STTService): self._audio_buffer = self._audio_buffer[self._chunk_size_bytes :] await self._websocket.send(chunk) - yield Frame() + yield None async def process_frame(self, frame: Frame, direction: FrameDirection): await super().process_frame(frame, direction)