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 bot mention detection — user_id can be None, not just empty string
Re-bin6141b950377d
diff --git a/nanobot/channels/feishu.py b/nanobot/channels/feishu.pyindex 780227a9f..2eb6a6a57 100644--- a/nanobot/channels/feishu.py+++ b/nanobot/channels/feishu.py@@ -362,8 +362,8 @@ class FeishuChannel(BaseChannel):mid = getattr(mention, "id", None)if not mid:continue- # Bot mentions have an empty user_id with a valid open_id- if getattr(mid, "user_id", None) == "" and (getattr(mid, "open_id", None) or "").startswith("ou_"):+ # Bot mentions have no user_id (None or "") but a valid open_id+ if not getattr(mid, "user_id", None) and (getattr(mid, "open_id", None) or "").startswith("ou_"):return Truereturn False