Skip to main content

HooksConfig

Defined in the config module.
Rust AI Agent SDK Hooks configuration for before/after tool execution

Fields

NameTypeDescription
enabledboolEnable hooks

Methods

new

fn new() -> Self
Create a new hooks config

enabled

fn enabled(mut self) -> Self
Enable hooks

Source

View on GitHub

praisonai/src/config.rs at line 93

Rust Hooks

Rust Events

Rust Callbacks

Rust Configuration

Rust Installation