Parlora.Backends.Jido (Parlora v0.1.0)

Copy Markdown View Source

Runs a fresh Jido AgentServer for each request, observed outside session/audio callbacks.

Install optional jido == 2.4.0 in applications selecting this backend. Requires :agent and :result (terminal Jido state to a map containing :status, :facts, and optional :summary). :signal maps a BackendRequest to a Jido.Signal; its default is parlora.request. Optional :cancel_signal enables advisory cancellation. Cancellation mapping runs in an isolated worker, bounded by limits.cancellation_timeout_ms, with at most one pending mapping per request and limits.max_jobs workers. cancel/4 admits this mapping; correlated :cancellation_requested or :cancellation_rejected events report its outcome. Reusing the command ID never reruns the mapping. Mapping failure leaves the original work running and does not confirm cancellation. A result mapper must explicitly return status: :cancelled to confirm cancellation. :agent_options and :await_options stay inside this adapter.

Summary

Functions

Returns a specification to start this module under a supervisor.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.