Hooks Config • Rust AI Agent SDK
HooksConfig: Hooks configuration for before/after tool execution
HooksConfig
Defined in the config module.
Rust AI Agent SDK
Hooks configuration for before/after tool execution
Fields
| Name | Type | Description |
|---|---|---|
enabled | bool | Enable hooks |
Methods
new
fn new() -> SelfCreate a new hooks config
enabled
fn enabled(mut self) -> SelfEnable hooks
Source
View on GitHubpraisonai/src/config.rs at line 93