Update src/pipecat/services/assemblyai/stt.py

Co-authored-by: Mark Backman <m.backman@gmail.com>
This commit is contained in:
zkleb-aai
2026-03-02 17:04:17 -05:00
committed by GitHub
parent cb7e612738
commit 7648b62e6e

View File

@@ -590,7 +590,7 @@ class AssemblyAISTTService(WebsocketSTTService):
data = json.loads(message)
# Log raw JSON for Turn messages to debug speaker_label
if data.get("type") == "Turn":
logger.debug(f"{self} RAW JSON from AssemblyAI: {json.dumps(data, indent=2)}")
logger.trace(f"{self} RAW JSON from AssemblyAI: {json.dumps(data, indent=2)}")
await self._handle_message(data)
except json.JSONDecodeError:
logger.warning(f"Received non-JSON message: {message}")