Before LLM Call • Rust AI Agent SDK
before_llm_call: Called before LLM call
before_llm_call
Method
</div>
This is a method of the LLMPluginProtocol class in the plugins module.
Called before LLM call
Signature
def before_llm_call(&self, _messages: &[LLMMessage]) -> Result<Option<Vec<LLMMessage>>, String>Parameters
ParamField
&[LLMMessage]No description available.