With Tokens Per Second • Rust AI Agent SDK
with_tokens_per_second: Set tokens per second.
with_tokens_per_second
Method
</div>
This is a method of the PerformanceMetrics class in the eval module.
Set tokens per second.
Signature
def with_tokens_per_second(mut self, tps: f64) -> SelfParameters
ParamField
f64No description available.
Returns
ResponseField
SelfThe result of the operation.