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

python
def with_tokens_per_second(mut self, tps: f64) -> Self

Parameters

ParamField f64

No description available.

Returns

ResponseField Self

The result of the operation.


Related Documentation