Skip to main content

get_agent

Method
This is a method of the BotProtocol class in the bots module.
Get the current agent.

Signature

def get_agent(&self) -> Option<Arc<Agent>>

Returns

Returns
Option<Arc<Agent>>
The result of the operation.