Max Tokens • Rust AI Agent SDK

max_tokens: Set max tokens

max_tokens

Method

</div>

This is a method of the VisionConfig class in the agents module.

Set max tokens

Signature

python
def max_tokens(mut self, max_tokens: u32) -> Self

Parameters

ParamField u32

No description available.

Returns

ResponseField Self

The result of the operation.


Related Documentation