Skip to main content

finish_task

Function finish_task 

Source
async fn finish_task(
    state: &AppState,
    caller: Option<&Caller>,
    id: &str,
    agent_id: &str,
    attempt: i64,
    result: &str,
    update: Option<CardUpdate>,
) -> (StatusCode, Json<Value>)