Interface: HooksConfig
Defined in: hooks/types.ts:380
Configuration for the hooks system
Properties
afterIteration?
optional afterIteration?: AfterIterationHook[];
Defined in: hooks/types.ts:389
Hooks called after each iteration
afterLLM?
optional afterLLM?: AfterLLMHook[];
Defined in: hooks/types.ts:399
Hooks called after LLM responses
afterTool?
optional afterTool?: AfterToolHook[];
Defined in: hooks/types.ts:409
Hooks called after tool execution
beforeIteration?
optional beforeIteration?: BeforeIterationHook[];
Defined in: hooks/types.ts:384
Hooks called before each iteration
beforeLLM?
optional beforeLLM?: BeforeLLMHook[];
Defined in: hooks/types.ts:394
Hooks called before LLM calls
beforeTool?
optional beforeTool?: BeforeToolHook[];
Defined in: hooks/types.ts:404
Hooks called before tool execution
onError?
optional onError?: OnErrorHook[];
Defined in: hooks/types.ts:414
Hooks called when errors occur