DeliveryValidation
Defined in the protocols module.AI Agent Result of a creation-time delivery-target pre-flight (Issue #3800). A scheduled job or agent-initiated proactive message carries a
DeliveryTarget whose reachability is otherwise only discovered when the
job fires — potentially hours later, where an unroutable target is
silently dropped or dead-target self-healed. This closed shape lets a
resolver answer “will this route?” the moment the send is created, so the
creator gets an immediate, actionable error instead of a late invisible
drop.
Attributes:
ok: Whether the target resolves to a reachable channel/route.
reason: On failure, a human-readable explanation of why it is
unroutable (empty when ok).
hint: On failure, an actionable next step (e.g. the configured
channels, or a command to list them); empty when ok.
preview: A dry-run preview of the destination (e.g.
"telegram:@alice (session main)") suitable for surfacing to the
creator before commit.
Properties
bool
No description available.
str
No description available.
str
No description available.
str
No description available.
Source
View on GitHub
praisonaiagents/gateway/protocols.py at line 2317
