Merge pull request #1488 from pipecat-ai/mb/stt-mute-filter-logline
Clarify the mute/unmute log line in STTMuteFilter
This commit is contained in:
@@ -108,7 +108,7 @@ class STTMuteFilter(FrameProcessor):
|
|||||||
async def _handle_mute_state(self, should_mute: bool):
|
async def _handle_mute_state(self, should_mute: bool):
|
||||||
"""Handles both STT muting and interruption control."""
|
"""Handles both STT muting and interruption control."""
|
||||||
if should_mute != self.is_muted:
|
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
|
self._is_muted = should_mute
|
||||||
await self.push_frame(STTMuteFrame(mute=should_mute))
|
await self.push_frame(STTMuteFrame(mute=should_mute))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user