This commit is contained in:
Liu Zhicong
2024-02-05 19:54:57 -08:00
parent 906c3e791a
commit 3e9f8ac0ed
+1 -1
View File
@@ -208,7 +208,7 @@ class AIAgent(BaseAIAgent):
need_process = False need_process = False
session_topic = msg.target + "#" + msg.topic session_topic = msg.target + "#" + msg.topic
chatsession = AIChatSession.get_session(self.agent_id,session_topic,self.memory_db) chatsession = AIChatSession.get_session(self.agent_id,session_topic,self.memory.memory_db)
if msg.mentions is not None: if msg.mentions is not None:
if self.agent_id in msg.mentions: if self.agent_id in msg.mentions:
need_process = True need_process = True