Class ShellToolAgentHook.Builder
java.lang.Object
com.alibaba.cloud.ai.graph.agent.hook.shelltool.ShellToolAgentHook.Builder
- Enclosing class:
- ShellToolAgentHook
Builder class for constructing ShellToolAgentHook instances.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build the ShellToolAgentHook instance.Set the ShellTool instance.shellToolName(String shellToolName)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
shellTool
Set the ShellTool instance.- Parameters:
shellTool- the ShellTool to use- Returns:
- this builder instance
-
shellToolName
-
build
Build the ShellToolAgentHook instance.- Returns:
- a new ShellToolAgentHook instance
-