Skip to main content

HookDefinition

Defined in the types module.
AI Agent Hook definition with matcher and configuration.

Properties

str
No description available.
HookEvent
No description available.
Optional[str]
No description available.
bool
No description available.
bool
No description available.
Optional[str]
No description available.
Optional[str]
No description available.
float
No description available.

Methods

matches()

Check if this hook matches the target (tool name, etc.).

Source

View on GitHub

praisonaiagents/hooks/types.py at line 226

Hooks Concept

Hook Events

Callbacks