Skip to main content

agent_base/types/
outcome.rs

1/// The final outcome of an Agent run
2///
3/// Represents the final state of a run, strictly separated from process events:
4/// - Events = process stream
5/// - RunOutcome = final result
6#[derive(Clone, Debug, PartialEq, Eq)]
7pub enum RunOutcome {
8    Completed,
9    Failed { error: String },
10}