Skip to main content

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:
NameType
_messages&[LLMMessage]

Source

View on GitHub

praisonai/src/parity/plugins.rs at line 0