Type Alias: AfterLLMHook
type AfterLLMHook = (context) => undefined | Promise<undefined>;
Defined in: hooks/types.ts:207
Hook called after LLM response is received.
Can be used for:
- Response logging
- Token tracking
- Response validation
- Metrics collection
Parameters
| Parameter | Type |
|---|---|
context | AfterLLMHookContext |
Returns
undefined | Promise<undefined>