Max Tokens • Rust AI Agent SDK
max_tokens: Set maximum tokens.
max_tokens
Method
</div>
This is a method of the ThinkingBudgetBuilder class in the thinking module.
Set maximum tokens.
Signature
def max_tokens(mut self, tokens: usize) -> SelfParameters
ParamField
usizeNo description available.
Returns
ResponseField
SelfThe result of the operation.