setAutoLoopEnabled

Toggle auto-loop behavior at runtime.

When enabled (default), uses the auto-advance policy from SessionConfig: segments are retried if score is below SessionConfig.scoreThreshold until SessionConfig.maxAttempts is reached.

When disabled, switches to an "always advance" policy: every segment moves on to the next regardless of score, with no retries.

The change takes effect on the next segment completion. Any pre-computed pending action is cleared so the new policy applies immediately.

Parameters

enabled

true to retry low-scoring segments, false to always advance