new • Rust AI Agent SDK

new: Create a new token budget

new

Method

</div>

This is a method of the TokenBudget class in the rag module.

Create a new token budget

Signature

python
def new(total: usize) -> Self

Parameters

ParamField usize

No description available.

Returns

ResponseField Self

The result of the operation.