This commit is contained in:
minecraft1024a
2025-09-13 21:43:14 +08:00

View File

@@ -583,9 +583,8 @@ class Prompt:
# 激活长期记忆 # 激活长期记忆
memory_activator = MemoryActivator() memory_activator = MemoryActivator()
running_memories = await memory_activator.activate_memory_with_chat_history( running_memories = await memory_activator.activate_memory_with_chat_history(
chat_history=chat_history, target_message=self.parameters.target,
target_user=self.parameters.sender, chat_history_prompt=chat_history
chat_id=self.parameters.chat_id
) )
# 获取即时记忆 # 获取即时记忆