Resolved Max Steps • AI Agent SDK

resolved_max_steps: Single, unified step budget honoured by both tool-execution loops.

resolved_max_steps

Method

</div>

This is a method of the ExecutionConfig class in the feature_configs module.

Single, unified step budget honoured by both tool-execution loops.

Returns max_steps when explicitly set, otherwise falls back to max_iter so existing defaults keep working (backward compatible).

Signature

python
def resolved_max_steps() -> int

Returns

ResponseField int

The result of the operation.

Source

View on GitHub

praisonaiagents/config/feature_configs.py at line 1064