use crate::models::common::{JsonValue, Status, StepType}; use chrono::{DateTime, Utc}; use serde::{Deserialize, Serialize}; use uuid::Uuid; #[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize, sqlx::FromRow)] pub struct AgentExecutionStep { pub id: Uuid, pub execution_id: Uuid, pub step_index: i32, pub step_type: StepType, pub name: String, pub status: Status, pub model_id: Option, pub tool_name: Option, pub input: Option, pub output: Option, pub error_message: Option, pub token_input_count: Option, pub token_output_count: Option, pub started_at: Option>, pub finished_at: Option>, pub created_at: DateTime, }