Set Agent Name • Rust AI Agent SDK
set_agent_name: Set agent name
set_agent_name
Method
</div>
This is a method of the Session class in the session module.
Set agent name
%%{init: {'theme': 'base', 'themeVariables': { 'primaryColor': '#8B0000', 'primaryTextColor': '#fff', 'primaryBorderColor': '#710101', 'lineColor': '#189AB4', 'secondaryColor': '#189AB4', 'tertiaryColor': '#fff' }}}%%
graph LR
input["Input Data"] --> agent["Agent: set_agent_name"]
agent --> output["Output Result"]
style agent fill:#8B0000,color:#fff
style input fill:#8B0000,color:#fff
style output fill:#8B0000,color:#fffSignature
def set_agent_name(&mut self, name: impl Into<String>) -> Result<()>Parameters
ParamField
impl Into<String>No description available.