ref:修改了plan的执行记录展示模式,现在每个动作的执行都会被记录
This commit is contained in:
@@ -35,7 +35,7 @@ class CuriousAction(BaseAction):
|
||||
|
||||
# 动作参数定义
|
||||
action_parameters = {
|
||||
"question": "对存在疑问的信息提出一个问题,描述全面,使用无人称陈述句",
|
||||
"question": "对存在疑问的信息提出一个问题,描述全面",
|
||||
}
|
||||
|
||||
# 动作使用场景
|
||||
@@ -64,7 +64,7 @@ class CuriousAction(BaseAction):
|
||||
logger.info(f"已存储问题到冲突追踪器: {question}")
|
||||
await self.store_action_info(
|
||||
action_build_into_prompt=True,
|
||||
action_prompt_display=f"你产生了一个问题:{question},尝试向其他人提问或回忆吧",
|
||||
action_prompt_display=f"你产生了一个问题:{question},尝试向其他人提问或回忆",
|
||||
action_done=True,
|
||||
)
|
||||
return True, "问题已记录"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
"""
|
||||
核心动作插件
|
||||
|
||||
将系统核心动作(reply、no_action、emoji)转换为新插件系统格式
|
||||
将系统核心动作(reply、no_reply、emoji)转换为新插件系统格式
|
||||
这是系统的内置插件,提供基础的聊天交互功能
|
||||
"""
|
||||
|
||||
|
||||
@@ -48,7 +48,7 @@ class MemoryBuildPlugin(BasePlugin):
|
||||
|
||||
# --- 根据配置注册组件 ---
|
||||
components = []
|
||||
components.append((GetMemoryAction.get_action_info(), GetMemoryAction))
|
||||
# components.append((GetMemoryAction.get_action_info(), GetMemoryAction))
|
||||
components.append((GetMemoryTool.get_tool_info(), GetMemoryTool))
|
||||
|
||||
return components
|
||||
|
||||
Reference in New Issue
Block a user