Skip to main content

private_task_queue

Function private_task_queue 

Source
pub const fn private_task_queue(workflow_type: &str) -> &str
Expand description

The assistant’s private task queue, derived from its own identity.

The derivation IS the value: the built-in assistant serves the queue named after the workflow type it exports, and there is nowhere else a queue name is written down. EmbeddedAssistant::load holds the embedded document to this — a document declaring any other queue does not load — so the server, the document, and every surface that reports the queue read one rule.

It is deliberately NOT operator-configurable and has no default to fall back to. A configurable queue with a default is how the assistant ended up on default in the first place.