Agent End • Rust AI Agent SDK
agent_end: Emit agent end event.
agent_end
Method
</div>
This is a method of the ContextTraceEmitter class in the trace module.
Emit agent end event.
%%{init: {'theme': 'base', 'themeVariables': { 'primaryColor': '#8B0000', 'primaryTextColor': '#fff', 'primaryBorderColor': '#710101', 'lineColor': '#189AB4', 'secondaryColor': '#189AB4', 'tertiaryColor': '#fff' }}}%%
graph LR
input["Input Data"] --> agent["Agent: agent_end"]
agent --> output["Output Result"]
style agent fill:#8B0000,color:#fff
style input fill:#8B0000,color:#fff
style output fill:#8B0000,color:#fffSignature
def agent_end(&mut self, agent_id: &str, agent_name: &str, output: &str, duration_ms: u64) -> ()Parameters
ParamField
&strNo description available.
ParamField
&strNo description available.
ParamField
&strNo description available.
ParamField
u64No description available.
Returns
ResponseField
()The result of the operation.