- 在InteractionHub中新增了执行模块列表功能,将输出内容交给agent进行输出封装

- 移动 InteractionContext 和 InteractionModule 至本体项目
- 调整 InteractionContext 字段内容,目前已较为完善
- 新增了 PreprocessExecutor 和 MemoryUpdater
- 优化了代码结构,提高了模块化和可扩展性,模块化前遗留问题应该已解决完毕,主流程待实现
- 添加了线程池的单例实现
- 添加了模块加载器的外部模块加载功能
- 在 Model 中新增 singleChat 方法,用于流程模块的不保留上下文对话
- 将 MemoryManager 移动至 core 包下,因为 MemoryManager 将参与多个模块内部
- 将调取记忆、更新记忆功能抽取为独立模块,便于流程控制
- 添加了 TaskData 类,用于存储任务信息,后续需考虑TaskData的序列化机制
This commit is contained in:
2025-04-18 22:19:04 +08:00
parent 34c6b861c8
commit 7594a1c43b
42 changed files with 395 additions and 189 deletions

View File

@@ -74,11 +74,6 @@
<artifactId>hutool-all</artifactId>
<version>5.8.36</version>
</dependency>
<dependency>
<groupId>work.slhaf</groupId>
<artifactId>Partner-Modules-Api</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
</dependencies>
</project>