new • Rust AI Agent SDK

new: Create a new budget allocation

new

Method

</div>

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

Create a new budget allocation

Signature

python
def new(total: usize) -> Self

Parameters

ParamField usize

No description available.

Returns

ResponseField Self

The result of the operation.