Interface: HooksConfig

Defined in: hooks/types.ts:365

Configuration for the hooks system

Properties

afterIteration?

optional afterIteration?: AfterIterationHook[];

Defined in: hooks/types.ts:374

Hooks called after each iteration

afterLLM?

optional afterLLM?: AfterLLMHook[];

Defined in: hooks/types.ts:384

Hooks called after LLM responses

afterTool?

optional afterTool?: AfterToolHook[];

Defined in: hooks/types.ts:394

Hooks called after tool execution

beforeIteration?

optional beforeIteration?: BeforeIterationHook[];

Defined in: hooks/types.ts:369

Hooks called before each iteration

beforeLLM?

optional beforeLLM?: BeforeLLMHook[];

Defined in: hooks/types.ts:379

Hooks called before LLM calls

beforeTool?

optional beforeTool?: BeforeToolHook[];

Defined in: hooks/types.ts:389

Hooks called before tool execution

onError?

optional onError?: OnErrorHook[];

Defined in: hooks/types.ts:399

Hooks called when errors occur