ReasoningEvaluateSettings.stateFailure property

Policy for _update_state failures. escalateAfter: raise onError once this many consecutive state updates have failed (default 3). suppressEvents: drop user events from a response whose state update failed — strict mode for pipelines where events trigger real actions (default false). Failures never poison the state: the previous value is kept and the model is corrected on the next request.

Signature:

stateFailure?: {
        escalateAfter?: number;
        suppressEvents?: boolean;
    };