Skip to main content

agent_runtime/runtime/
run_result.rs

1//! Successful or stopped run outcome and its accumulated conversation trace.
2
3use super::{RunEvent, RunStatus};
4use crate::Message;
5use uuid::Uuid;
6
7pub struct RunResult {
8    pub run_id: Uuid,
9    pub status: RunStatus,
10    pub response: Option<String>,
11    pub messages: Vec<Message>,
12    pub iterations: usize,
13    pub events: Vec<RunEvent>,
14}