Function Plugin • Rust AI Agent SDK
FunctionPlugin: A simple function-based plugin.
FunctionPlugin
Defined in the plugins module.
Rust AI Agent SDK
A simple function-based plugin.
Fields
| Name | Type | Description |
|---|---|---|
info | PluginInfo | – |
handler | Box<dyn Fn(PluginHook | – |
serde_json | :Value) -> Result<Option<serde_json::Value>> + Send + Sync> | – |
Source
View on GitHubpraisonai/src/plugins/mod.rs at line 213