Track LLM Call • Rust AI Agent SDK
track_llm_call: Track LLM call
track_llm_call
Method
</div>
This is a method of the MinimalTelemetry class in the telemetry_funcs module.
Track LLM call
Signature
def track_llm_call(
&self,
model: &str,
input_tokens: Option<u32>,
output_tokens: Option<u32>,
duration_ms: u64,
) -> ()Parameters
ParamField
&strNo description available.
ParamField
Option<u32>No description available.
ParamField
Option<u32>No description available.
ParamField
u64No description available.
Returns
ResponseField
()The result of the operation.