Is Failed • Rust AI Agent SDK

is_failed: Check if task failed

is_failed

Method

</div>

This is a method of the Task class in the task module.

Check if task failed

Signature

python
def is_failed(&self) -> bool

Returns

ResponseField bool

The result of the operation.