Max Turns • Rust AI Agent SDK

max_turns: Set max turns.

max_turns

Method

</div>

This is a method of the FastContextConfig class in the context module.

Set max turns.

Signature

python
def max_turns(mut self, turns: usize) -> Self

Parameters

ParamField usize

No description available.

Returns

ResponseField Self

The result of the operation.