Skip to main content

run_post_hooks

Function run_post_hooks 

Source
pub async fn run_post_hooks(
    hooks: &[Arc<dyn ToolHook>],
    tool_name: &str,
    arguments: &str,
    result: &ToolResult,
)
Expand description

Helper: run all registered hooks after a tool call.