From b9aed0d6733284c23f1a004af7c3735c2fdf22a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aleix=20Conchillo=20Flaqu=C3=A9?= Date: Wed, 20 May 2026 16:01:20 -0700 Subject: [PATCH] Rename BaseTask.send_error to send_bus_error_message MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Symmetric with send_bus_message; "send_bus_error" on its own reads ambiguously (sounds like an error about the bus, à la SIGBUS) and the underlying types are BusTaskErrorMessage / BusTaskLocalErrorMessage, so keeping "_message" in the name matches what's actually sent. --- src/pipecat/pipeline/base_task.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pipecat/pipeline/base_task.py b/src/pipecat/pipeline/base_task.py index 4f22b73a6..771329468 100644 --- a/src/pipecat/pipeline/base_task.py +++ b/src/pipecat/pipeline/base_task.py @@ -529,7 +529,7 @@ class BaseTask(BaseObject, BusSubscriber): if self._bus: await self._bus.send(message) - async def send_error(self, error: str) -> None: + async def send_bus_error_message(self, error: str) -> None: """Report an error on the bus. Child tasks send a local-only message to the parent.