Class AgentHook
java.lang.Object
com.alibaba.cloud.ai.graph.agent.hook.AgentHook
- All Implemented Interfaces:
Hook
- Direct Known Subclasses:
ShellToolAgentHook
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionafterAgent(OverAllState state, RunnableConfig config) beforeAgent(OverAllState state, RunnableConfig config) getAgent()voidsetAgent(ReactAgent agent) voidsetAgentName(String agentName) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.alibaba.cloud.ai.graph.agent.hook.Hook
canJumpTo, getHookPositions, getKeyStrategys, getName
-
Constructor Details
-
AgentHook
public AgentHook()
-
-
Method Details
-
beforeAgent
-
afterAgent
-
setAgentName
- Specified by:
setAgentNamein interfaceHook
-
getAgentName
- Specified by:
getAgentNamein interfaceHook
-
getAgent
-
setAgent
-