Clarify the mute/unmute log line in STTMuteFilter

This commit is contained in:
Mark Backman
2025-03-31 16:43:03 -04:00
parent c9a93f2504
commit 43c255f58a

View File

@@ -108,7 +108,7 @@ class STTMuteFilter(FrameProcessor):
async def _handle_mute_state(self, should_mute: bool):
"""Handles both STT muting and interruption control."""
if should_mute != self.is_muted:
logger.debug(f"STT {'muting' if should_mute else 'unmuting'}")
logger.debug(f"STTMuteFilter {'muting' if should_mute else 'unmuting'}")
self._is_muted = should_mute
await self.push_frame(STTMuteFrame(mute=should_mute))