pub fn supervised_keyed(
worker: AgentBuilder,
supervisor: AgentBuilder,
approval_key: &str,
max_revisions: u32,
) -> ComposableExpand description
Supervised with a custom approval key.
Like supervised but allows specifying which state key signals approval.
§Arguments
worker— The agent that performs the task.supervisor— The agent that oversees work.approval_key— State key the supervisor sets totruewhen satisfied.max_revisions— Maximum iterations.