Get Agent • Rust AI Agent SDK
get_agent: Get the current agent.
get_agent
Method
</div>
This is a method of the BotProtocol class in the bots module.
Get the current agent.
Signature
def get_agent(&self) -> Option<Arc<Agent>>get_agent: Get the current agent.
Method
</div>
This is a method of the BotProtocol class in the bots module.
Get the current agent.
def get_agent(&self) -> Option<Arc<Agent>>