Package com.alibaba.cloud.ai.graph.agent
Class ReactAgent.AgentToSubCompiledGraphNodeAdapter
java.lang.Object
com.alibaba.cloud.ai.graph.agent.ReactAgent.AgentToSubCompiledGraphNodeAdapter
- All Implemented Interfaces:
NodeActionWithConfig,ResumableSubGraphAction
- Enclosing class:
- ReactAgent
public class ReactAgent.AgentToSubCompiledGraphNodeAdapter
extends Object
implements NodeActionWithConfig, ResumableSubGraphAction
-
Field Summary
Fields inherited from interface com.alibaba.cloud.ai.graph.internal.node.ResumableSubGraphAction
OUTPUT_KEY_TO_PARENT_SUFFIX -
Constructor Summary
ConstructorsConstructorDescriptionAgentToSubCompiledGraphNodeAdapter(String nodeId, boolean includeContents, boolean returnReasoningContents, CompiledGraph childGraph, String instruction, CompileConfig parentCompileConfig) -
Method Summary
-
Constructor Details
-
AgentToSubCompiledGraphNodeAdapter
public AgentToSubCompiledGraphNodeAdapter(String nodeId, boolean includeContents, boolean returnReasoningContents, CompiledGraph childGraph, String instruction, CompileConfig parentCompileConfig)
-
-
Method Details
-
getResumeSubGraphId
- Specified by:
getResumeSubGraphIdin interfaceResumableSubGraphAction
-
apply
- Specified by:
applyin interfaceNodeActionWithConfig- Throws:
Exception
-