pub(crate) async fn spawn_for_drone(
state: &AppState,
leader_uid: &str,
brief: &str,
model: Option<String>,
account: Option<String>,
) -> Result<SpawnAgentResult, String>Expand description
Open a worker for a drone’s Spawn block: the path of spawn_for_job, but the person is told first,
by the card with a countdown that goes ahead on its own, unless their settings already allow agents to start
agents. A drone run isn’t known to be one the operator started, so the block doesn’t count as their approval.