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
def should_dead_letter() -> DeadLetterDecisionReturns
ResponseField
DeadLetterDecisionThe result of the operation.
Source
View on GitHubpraisonaiagents/gateway/protocols.py at line 5468