From d6ab35c1a3a431e0da8eeae5f25f97782dd52f4f Mon Sep 17 00:00:00 2001 From: teknium1 Date: Tue, 10 Mar 2026 15:18:26 -0700 Subject: [PATCH] fix(signal): align send() signature with base class (content, reply_to, metadata) Signal's send() used 'text' instead of 'content' and 'reply_to_message_id' instead of 'reply_to', mismatching BasePlatformAdapter.send(). Callers in gateway/run.py use keyword args matching the base interface, so Signal's send() was missing its required 'text' positional arg. Fixes: 'SignalAdapter.send() missing 1 required positional argument: text' --- gateway/platforms/signal.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gateway/platforms/signal.py b/gateway/platforms/signal.py index d2212ae8..2ce072ae 100644 --- a/gateway/platforms/signal.py +++ b/gateway/platforms/signal.py @@ -557,16 +557,16 @@ class SignalAdapter(BasePlatformAdapter): async def send( self, chat_id: str, - text: str, - reply_to_message_id: Optional[str] = None, - **kwargs, + content: str, + reply_to: Optional[str] = None, + metadata: Optional[Dict[str, Any]] = None, ) -> SendResult: """Send a text message.""" await self._stop_typing_indicator(chat_id) params: Dict[str, Any] = { "account": self.account, - "message": text, + "message": content, } if chat_id.startswith("group:"):