diff --git a/CHANGELOG.md b/CHANGELOG.md index f59a9e67a..75dad0be3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -37,6 +37,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Fixed an issue that was causing stuttering with AWS TTS service. +- Fixed an issue with PlayHTTTSService, where the TTFB metrics were reporting + very small time values. + ## [0.0.47] - 2024-10-22 ### Added diff --git a/src/pipecat/services/playht.py b/src/pipecat/services/playht.py index bfc398296..b8995374a 100644 --- a/src/pipecat/services/playht.py +++ b/src/pipecat/services/playht.py @@ -293,8 +293,6 @@ class PlayHTTTSService(TTSService): except Exception as e: logger.error(f"{self} error generating TTS: {e}") yield ErrorFrame(f"{self} error: {str(e)}") - finally: - await self.stop_all_metrics() class PlayHTHttpTTSService(TTSService):