mirror of
https://github.com/slhaf/Partner.git
synced 2026-05-14 17:53:05 +08:00
完善了框架层的完整执行流程,待进行demo测试并适配进Partner本体。
- 调整 runtime 目录结构, flow/ 归为 interaction/ 的子包 - 新增了 AgentGateway 以及 Gateway 对应的 Adapter 抽象类,下游必须实现这两者才能启动项目 - 调整 MetaModule 中的某些字段类别, 锁定为 AgentRunningModule 相关子类, 便于在执行流中执行模块 - 修复了 ModuleCheckFactory 中对于 @AgentModule 的错误检验逻辑 - 更新 Agent 启动器为step builder模式进行逐步构建,强制实现 AgentGateway 相关内容, 其余带有默认实现的部分也可自定义实现,只需实现对应的类或接口
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
package module;
|
||||
|
||||
import work.slhaf.partner.api.agent.flow.abstracts.AgentRunningModule;
|
||||
import work.slhaf.partner.api.agent.flow.entity.RunningFlowContext;
|
||||
import work.slhaf.partner.api.agent.runtime.interaction.flow.abstracts.AgentRunningModule;
|
||||
import work.slhaf.partner.api.agent.runtime.interaction.flow.entity.RunningFlowContext;
|
||||
|
||||
public class MyAgentRunningModule extends AgentRunningModule {
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user