pub type Event = RunEvent;Expand description
Re-export of the core run-lifecycle event type.
Kept as a type alias for backward compatibility with code that imports
fluers_runtime::Event.
Aliased Type§
pub enum Event {
SessionStarted {
session: Uuid,
},
TurnStarted {
session: Uuid,
turn: usize,
},
ModelStarted {
session: Uuid,
turn: usize,
model: String,
},
ModelFinished {
session: Uuid,
turn: usize,
},
ToolStarted {
session: Uuid,
turn: usize,
tool: String,
call_id: String,
},
ToolFinished {
session: Uuid,
turn: usize,
tool: String,
call_id: String,
ok: bool,
},
TurnFinished {
session: Uuid,
turn: usize,
},
RunFailed {
session: Uuid,
error: String,
},
}Variants§
SessionStarted
A session started (emitted once, before the first turn).
TurnStarted
A model turn began.
ModelStarted
The model provider was invoked for this turn.
Fields
ModelFinished
The model provider returned for this turn.
ToolStarted
A tool call was dispatched.
Fields
ToolFinished
A tool call completed.
Fields
TurnFinished
A turn completed.
RunFailed
The run failed.