diff --git a/src/pipecat/transports/services/daily.py b/src/pipecat/transports/services/daily.py index c85e989dd..3c7b2772c 100644 --- a/src/pipecat/transports/services/daily.py +++ b/src/pipecat/transports/services/daily.py @@ -199,6 +199,9 @@ def set_callbacks(self, callbacks: DailyCallbacks): self._callbacks = callbacks async def send_message(self, frame: DailyTransportMessageFrame): + if not self._client: + return + future = self._loop.create_future() self._client.send_app_message( frame.message,