With Level • Rust AI Agent SDK

with_level: Create a new config with a specific budget level.

with_level

Method

</div>

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

Create a new config with a specific budget level.

Signature

python
def with_level(level: BudgetLevel) -> Self

Parameters

ParamField BudgetLevel

No description available.

Returns

ResponseField Self

The result of the operation.