Class SupervisorEdgeAction
java.lang.Object
com.alibaba.cloud.ai.graph.agent.flow.node.SupervisorEdgeAction
- All Implemented Interfaces:
AsyncEdgeAction,Function<OverAllState,CompletableFuture<String>>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordResponse record for structured supervisor decision output. -
Constructor Summary
ConstructorsConstructorDescriptionSupervisorEdgeAction(org.springframework.ai.chat.model.ChatModel chatModel, Agent rootAgent, List<Agent> subAgents) -
Method Summary
-
Constructor Details
-
SupervisorEdgeAction
-
-
Method Details
-
apply
- Specified by:
applyin interfaceAsyncEdgeAction- Specified by:
applyin interfaceFunction<OverAllState,CompletableFuture<String>>
-