1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
use serde::{Deserialize, Serialize}; /// 动态补全数据 #[derive(Debug, Clone, Serialize, Deserialize)] pub struct DynamicCompletionData { /// 已配置的模型列表 pub models: Vec<String>, /// 已检测的工具列表 pub tools: Vec<String>, /// 已保存的预设列表 pub presets: Vec<String>, /// 数据生成时间 pub generated_at: chrono::DateTime<chrono::Utc>, }