From Level • Rust AI Agent SDK

from_level: Create a budget from a predefined level.

from_level

Method

</div>

This is a method of the ThinkingBudget class in the thinking module.

Create a budget from a predefined level.

Signature

python
def from_level(level: BudgetLevel) -> Self

Parameters

ParamField BudgetLevel

No description available.

Returns

ResponseField Self

The result of the operation.