Skip to main content

agent_service/run/
run_event_kind.rs

1//! Kinds of events emitted during a run lifecycle.
2
3/// An event recorded in the ordered history of a run.
4#[derive(Debug, Clone, Copy, PartialEq, Eq)]
5pub enum RunEventKind {
6    Queued,
7    Started,
8    Completed,
9    Failed,
10    Cancelled,
11    TimedOut,
12    MaxIterationsReached,
13    ModelRequested,
14    ModelCandidatesDiscovered,
15    ModelCandidateAttemptStarted,
16    ModelCandidateAttemptFailed,
17    ModelFallback,
18    ModelSelected,
19    ModelRoutingFailed,
20    ModelResponded,
21    ToolExecutionStarted,
22    ToolExecutionFinished,
23    ModelFailed,
24    RuntimeCancelled,
25    RuntimeTimedOut,
26}