Should Dead Letter • AI Agent SDK

should_dead_letter: Return a :class:`DeadLetterDecision` for the supplied facts.

should_dead_letter

Method

</div>

This is a method of the DeadLetterPolicyProtocol class in the protocols module.

Return a :class:DeadLetterDecision for the supplied facts.

Signature

python
def should_dead_letter() -> DeadLetterDecision

Returns

ResponseField DeadLetterDecision

The result of the operation.

Source

View on GitHub

praisonaiagents/gateway/protocols.py at line 5468