Skip to main content

task_status

Function task_status 

Source
fn task_status(word: &str) -> Option<ToolCallStatus>
Expand description

A task’s own status word, as the frame carrying it draws the call.

The same map a view applies to task_updated.patch.status: the wire says running where the row says in progress, and stopped is its word for a graceful cancel, which draws as the kill it is.

An unrecognised word is None. The word arrives here after the call is finished, so an unreadable word means the task ended without saying how, and drawing the call as pending again would walk it back down.