Interface Hook
- All Known Implementing Classes:
AgentHook,HumanInTheLoopHook,InterruptionHook,MessagesAgentHook,MessagesModelHook,ModelCallLimitHook,ModelHook,PIIDetectionHook,ShellToolAgentHook,SummarizationHook,ToolCallLimitHook
public interface Hook
-
Method Summary
Modifier and TypeMethodDescriptiongetAgent()static StringgetFullHookName(Hook hook) default HookPosition[]Get the positions where this hook should be executed.default Map<String,KeyStrategy> getName()voidsetAgent(ReactAgent agent) voidsetAgentName(String agentName)
-
Method Details
-
getName
String getName() -
setAgentName
-
getAgentName
String getAgentName() -
getAgent
ReactAgent getAgent() -
setAgent
-
canJumpTo
-
getKeyStrategys
-
getHookPositions
Get the positions where this hook should be executed. By default, this method checks for the @HookPositions annotation on the implementing class.- Returns:
- array of HookPosition values
-
getFullHookName
-