Skip to main content

before_agent

Method
This is a method of the HookPluginProtocol class in the plugins module.
Called before agent execution

Signature

def before_agent(&self, _agent_name: &str, _input: &str) -> Result<Option<String>, String>

Parameters

_agent_name
&str
required
No description available.
_input
&str
required
No description available.

Returns

Returns
Result<Option<String>, String>
The result of the operation.