diff --git a/deepgram/clients/speak/v1/websocket/async_client.py b/deepgram/clients/speak/v1/websocket/async_client.py index b7965c69..c69debcf 100644 --- a/deepgram/clients/speak/v1/websocket/async_client.py +++ b/deepgram/clients/speak/v1/websocket/async_client.py @@ -328,7 +328,7 @@ async def _process_text(self, message: Union[str, bytes]) -> None: ) case SpeakWebSocketEvents.Cleared: clear_result: ClearedResponse = ClearedResponse.from_json(message) - self._logger.verbose("ClearedResponse: %s", meta_result) + self._logger.verbose("ClearedResponse: %s", clear_result) await self._emit( SpeakWebSocketEvents(SpeakWebSocketEvents.Cleared), cleared=clear_result, diff --git a/deepgram/clients/speak/v1/websocket/client.py b/deepgram/clients/speak/v1/websocket/client.py index 05580bfa..d14c3603 100644 --- a/deepgram/clients/speak/v1/websocket/client.py +++ b/deepgram/clients/speak/v1/websocket/client.py @@ -326,7 +326,7 @@ def _process_text(self, message: str) -> None: ) case SpeakWebSocketEvents.Cleared: clear_result: ClearedResponse = ClearedResponse.from_json(message) - self._logger.verbose("ClearedResponse: %s", meta_result) + self._logger.verbose("ClearedResponse: %s", clear_result) self._emit( SpeakWebSocketEvents(SpeakWebSocketEvents.Cleared), cleared=clear_result,