With Limits • Rust AI Agent SDK

with_limits: Create with custom limits

with_limits

Method

</div>

This is a method of the ContextBudgeter class in the context module.

Create with custom limits

Signature

python
def with_limits(model: impl Into<String>, max_tokens: usize, output_reserve: usize) -> Self

Parameters

ParamField impl Into&lt;String&gt;

No description available.

ParamField usize

No description available.

ParamField usize

No description available.

Returns

ResponseField Self

The result of the operation.