strategy • Rust AI Agent SDK

strategy: Set optimization strategy

strategy

Method

</div>

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

Set optimization strategy

Signature

python
def strategy(mut self, strategy: OptimizerStrategy) -> Self

Parameters

ParamField OptimizerStrategy

No description available.

Returns

ResponseField Self

The result of the operation.