Hook Plugin Protocol • Rust AI Agent SDK
HookPluginProtocol: Lifecycle hook plugin protocol
HookPluginProtocol
Defined in the plugins module.
Rust AI Agent SDK
Lifecycle hook plugin protocol
Methods
before_agent
fn before_agent(&self, _agent_name: &str, _input: &str) -> Result<Option<String>, String>Called before agent execution
Parameters:
| Name | Type |
|---|---|
_agent_name | &str |
_input | &str |
Source
View on GitHubpraisonai/src/parity/plugins.rs at line 0