LLM Plugin Protocol • Rust AI Agent SDK
LLMPluginProtocol: LLM call hook plugin protocol
LLMPluginProtocol
Defined in the plugins module.
Rust AI Agent SDK
LLM call hook plugin protocol
Methods
before_llm_call
fn before_llm_call(&self, _messages: &[LLMMessage]) -> Result<Option<Vec<LLMMessage>>, String>Called before LLM call
Parameters:
| Name | Type |
|---|---|
_messages | &[LLMMessage] |
Source
View on GitHubpraisonai/src/parity/plugins.rs at line 0