Skip to main content

handle_work_submit

Function handle_work_submit 

Source
pub(super) async fn handle_work_submit(
    __arg0: State<AppState>,
    __arg1: Path<String>,
    caller: Option<Extension<Caller>>,
    __arg3: Json<UpdateRequest>,
) -> (StatusCode, Json<Value>)
Expand description

POST /agentmux/work/:id/submit: the holder hands it in. A task that needs review waits in Review for the operator; one that doesn’t is done. The answer names the next task waiting for the agent.