Max Response Output Tokens • Rust AI Agent SDK

max_response_output_tokens: Set max tokens

max_response_output_tokens

Method

</div>

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

Set max tokens

Signature

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

Parameters

ParamField usize

No description available.

Returns

ResponseField Self

The result of the operation.


Related Documentation