Cpu Percent • Rust AI Agent SDK

cpu_percent: Set CPU limit.

cpu_percent

Method

</div>

This is a method of the ResourceLimits class in the sandbox module.

Set CPU limit.

Signature

python
def cpu_percent(mut self, percent: u32) -> Self

Parameters

ParamField u32

No description available.

Returns

ResponseField Self

The result of the operation.