Wardrik. Interrupt
(wardrik_protocol v0.1.0-rc.1)
Copy Markdown
A call an agent waits on a person for.
reason is :tool_approval, :model_approval, :ceiling_approval, :authorization or
:in_doubt. agent_id is set only by Wardrik.Interrupts.list/2.
Summary
Functions
Builds one from the protocol's JSON.
Builds one from an interrupts.list item, with its agent_id.
Returns it as the protocol's JSON, without fields that are nil.