Your lightweight open-source personal agent.
Python agent-frameworkai-agentai-agentschatbotchatopsdiscord-botllm-agentsllmslocal-llmmcpmodel-context-protocolmulti-agentopenai-compatibleopenclawpersonal-ai-assistantpythonself-hostedtelegram-bot-ai-assistantwebuiworkflow-automation
fix(feishu): propagate is_dm and remove early is_allowed check
chengyongruf3cae85bb122
diff --git a/nanobot/channels/feishu.py b/nanobot/channels/feishu.pyindex efdb17fdf..83f9a6ccc 100644--- a/nanobot/channels/feishu.py+++ b/nanobot/channels/feishu.py@@ -1699,9 +1699,6 @@ class FeishuChannel(BaseChannel):chat_type = message.chat_typemsg_type = message.message_type- if not self.is_allowed(sender_id):- return-if chat_type == "group" and not self._is_group_message_for_bot(message):self.logger.debug("skipping group message (not mentioned)")return@@ -1829,6 +1826,7 @@ class FeishuChannel(BaseChannel):"thread_id": thread_id,},session_key=session_key,+ is_dm=chat_type == "p2p",)except Exception: