Skip to main content

get_agent

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

Signature

def get_agent() -> Optional['Agent']

Returns

Returns
Optional['Agent']
The result of the operation.