From 4a96b2a9e6af959fc5dd898580c5a90d2ddd078b Mon Sep 17 00:00:00 2001 From: Mark Backman Date: Wed, 20 May 2026 15:38:59 -0400 Subject: [PATCH] Clean up smart text logging --- src/pipecat/processors/frameworks/rtvi/observer.py | 2 +- src/pipecat/utils/context/word_completion_tracker.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/pipecat/processors/frameworks/rtvi/observer.py b/src/pipecat/processors/frameworks/rtvi/observer.py index 5f551c8cf..daccba86f 100644 --- a/src/pipecat/processors/frameworks/rtvi/observer.py +++ b/src/pipecat/processors/frameworks/rtvi/observer.py @@ -529,7 +529,7 @@ class RTVIObserver(BaseObserver): isTTS = isinstance(frame, TTSTextFrame) if agg_type is not AggregationType.WORD: - logger.debug(f"{self} Aggregated LLM text: {text}, {agg_type} spoken:{isTTS}") + logger.trace(f"{self} Aggregated LLM text: {text}, {agg_type} spoken:{isTTS}") if self._params.bot_output_enabled: message = RTVI.BotOutputMessage( diff --git a/src/pipecat/utils/context/word_completion_tracker.py b/src/pipecat/utils/context/word_completion_tracker.py index 1d12769bf..6fd21d0d1 100644 --- a/src/pipecat/utils/context/word_completion_tracker.py +++ b/src/pipecat/utils/context/word_completion_tracker.py @@ -86,7 +86,6 @@ class WordCompletionTracker: self._overflow_word: str | None = None self._llm_consumed: str | None = None self._frame_word: str | None = None - logger.debug(f"WordCompletionTracker: {self._tts_normalized}") @staticmethod def _normalize(text: str) -> str: