Self-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.
Python agent-contextagent-memoryagent-pluginsagentic-ragcontext-databasedsh-pluginknowledge-basememorymemory-managementself-evolvingvector-database
channel mention (#1272)
yeshion2333369b2b2490675
diff --git a/bot/vikingbot/agent/loop.py b/bot/vikingbot/agent/loop.pyindex aee03ec64..d9e712850 100644--- a/bot/vikingbot/agent/loop.py+++ b/bot/vikingbot/agent/loop.py@@ -496,7 +496,7 @@ class AgentLoop:await self.sessions.save(session)return OutboundMessage(session_key=msg.session_key,- content=None,+ content="",metadata=msg.metadata,event_type=OutboundEventType.NO_REPLY,)diff --git a/bot/vikingbot/channels/base.py b/bot/vikingbot/channels/base.pyindex 1cf2b3d00..924d3ca2d 100644--- a/bot/vikingbot/channels/base.py+++ b/bot/vikingbot/channels/base.py@@ -145,6 +145,7 @@ class BaseChannel(ABC):sender_id: str,chat_id: str,content: str,+ need_reply: bool = True,media: list[str] | None = None,metadata: dict[str, Any] | None = None,) -> None:@@ -174,6 +175,7 @@ class BaseChannel(ABC):chat_id=chat_id,),sender_id=str(sender_id),+ need_reply=need_reply,content=content,media=media or [],metadata=metadata or {},diff --git a/bot/vikingbot/channels/feishu.py b/bot/vikingbot/channels/feishu.pyindex bfe75501d..451b23b9f 100644--- a/bot/vikingbot/channels/feishu.py+++ b/bot/vikingbot/channels/feishu.py@@ -809,12 +809,10 @@ class FeishuChannel(BaseChannel):# 6. 检查是否需要处理该消息should_process = await self._check_should_process(chat_type, chat_id, message, is_mentioned)- if not should_process:- return# 7. 添加已读表情config = load_config()- if config.mode != BotMode.DEBUG:+ if config.mode != BotMode.DEBUG and should_process:await self._add_reaction(message_id, "MeMeMe")# 8. 处理@占位符@@ -840,6 +838,7 @@ class FeishuChannel(BaseChannel):chat_id=final_chat_id,content=content,media=media if media else None,+ need_reply=should_process,metadata={"message_id": message_id,"chat_type": chat_type,