From 516371a6c1cb339907fb7b640a24671388f7cf2b Mon Sep 17 00:00:00 2001 From: huanghuoguoguo <60681390+huanghuoguoguo@users.noreply.github.com> Date: Sun, 14 Jun 2026 10:53:47 +0800 Subject: [PATCH] style(platform): format web page bot adapter --- src/langbot/pkg/platform/sources/web_page_bot_adapter.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/langbot/pkg/platform/sources/web_page_bot_adapter.py b/src/langbot/pkg/platform/sources/web_page_bot_adapter.py index 81f30e55..fa7f8174 100644 --- a/src/langbot/pkg/platform/sources/web_page_bot_adapter.py +++ b/src/langbot/pkg/platform/sources/web_page_bot_adapter.py @@ -90,9 +90,7 @@ class WebPageBotAdapter(abstract_platform_adapter.AbstractMessagePlatformAdapter return await self._ws_adapter.is_stream_output_supported() return False - async def create_message_card( - self, message_id: str | int, event: platform_events.MessageEvent - ) -> bool: + async def create_message_card(self, message_id: str | int, event: platform_events.MessageEvent) -> bool: """Delegate create_message_card to ws_adapter.""" if self._ws_adapter is not None: return await self._ws_adapter.create_message_card(message_id, event)