接口的使用
com.agentsflex.core.agent.route.RoutingAgentFactory
使用RoutingAgentFactory的程序包
-
com.agentsflex.core.agent.route中RoutingAgentFactory的使用
修饰符和类型方法说明voidRoutingAgentRegistry.register(String name, String description, RoutingAgentFactory factory) 注册 Agent,并可选绑定关键字(用于快速匹配)voidRoutingAgentRegistry.register(String name, String description, List<String> keywords, RoutingAgentFactory factory)