use crate::models::json_types::{AgentVersionConfig, TypedJson}; use chrono::{DateTime, Utc}; use serde::{Deserialize, Serialize}; use uuid::Uuid; #[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize, sqlx::FromRow)] pub struct AgentVersion { pub id: Uuid, pub agent_id: Uuid, pub version: String, pub name: Option, pub description: Option, pub model_id: Option, pub system_prompt: String, pub instructions: Option, pub tools: Vec, pub config: Option>, pub changelog: Option, pub stable: bool, pub published_by: Uuid, pub published_at: Option>, pub created_at: DateTime, pub updated_at: DateTime, }