Block On Failure • Rust AI Agent SDK

block_on_failure: Set whether to block on failure

block_on_failure

Method

</div>

This is a method of the LLMGuardrail class in the extras module.

Set whether to block on failure

Signature

python
def block_on_failure(mut self, block: bool) -> Self

Parameters

ParamField bool

No description available.

Returns

ResponseField Self

The result of the operation.