Max Tokens • Rust AI Agent SDK

max_tokens: Set max tokens

max_tokens

Method

</div>

This is a method of the PromptExpanderAgentBuilder class in the specialized_agents module.

Set max tokens

Signature

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

Parameters

ParamField usize

No description available.

Returns

ResponseField Self

The result of the operation.


Related Documentation