Dead Letter Decision • AI Agent SDK

DeadLetterDecision: Result of a dead-letter evaluation.

DeadLetterDecision

Defined in the protocols module.

AI Agent

Result of a dead-letter evaluation.

Attributes: dead_letter: Whether the entry should be routed to the dead-letter queue / marked `permanent_failure now. When False the caller reschedules the entry under its normal capped backoff. reason: Short machine-readable explanation ("permanent_error", "attempts_and_age", "retry"`) for logging/metrics.

Properties

ResponseField bool

No description available.

ResponseField str

No description available.

Source

View on GitHub

praisonaiagents/gateway/protocols.py at line 5435