From 25f93304912af9b238fd056b18d4b7289c543ddb Mon Sep 17 00:00:00 2001 From: WangCham <651122857@qq.com> Date: Tue, 7 Apr 2026 16:33:46 +0800 Subject: [PATCH] fix: ruff error --- src/langbot/pkg/platform/sources/wecombot.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/langbot/pkg/platform/sources/wecombot.py b/src/langbot/pkg/platform/sources/wecombot.py index 7f011b47..2c5b6805 100644 --- a/src/langbot/pkg/platform/sources/wecombot.py +++ b/src/langbot/pkg/platform/sources/wecombot.py @@ -131,8 +131,6 @@ class WecomBotMessageConverter(abstract_platform_adapter.AbstractMessageConverte # so that plugins like FileReader can process them the same way as direct messages quote_info = event.quote or {} if quote_info: - quote_type = quote_info.get('msgtype', '') - # Process quote text content - add as Plain for context if quote_info.get('content'): yiri_msg_list.append(platform_message.Plain(text=f'[引用消息] {quote_info.get("content")}'))