pub enum RunStatus {
Starting,
Running,
WaitingInput,
Complete,
CompleteInteractive,
Paused,
Error,
Cancelled,
}Expand description
Current status of a background run.
Variants§
Starting
Accepted and being set up; no inference has been issued yet.
Running
Working: inferring, calling tools, or moving between stages.
WaitingInput
Blocked on a person. A human-in-the-loop tool or an interaction point is waiting for an answer, and the run holds its concurrency slot until it gets one.
Complete
Finished, with nothing further to accept.
CompleteInteractive
All required stages done; agent still accepts optional follow-up input. Shown as “Complete” in the dashboard - no kill option, input still enabled.
Paused
Paused by the user; resumes on request and is restored paused after a daemon restart.
Error
Stopped by a failure. RunMeta::error carries what went wrong.
Cancelled
Stopped from outside, by lev kill or a shutting-down daemon. Distinct
from Error: nothing went wrong, someone decided.