Class SupervisorNodeFromState

java.lang.Object
com.alibaba.cloud.ai.graph.agent.flow.node.SupervisorNodeFromState
All Implemented Interfaces:
MultiCommandAction

public class SupervisorNodeFromState extends Object implements MultiCommandAction
MultiCommandAction that reads the sub-agent list from state key "supervisor_next". The value is set by MainAgentNodeAction (a List of sub-agent names); no parsing of AssistantMessage or JSON text is needed here.