| use schemars::JsonSchema; | |
| use serde::{Deserialize, Serialize}; | |
| /// The output format used when auto-dumping a conversation on task completion. | |
| pub enum AutoDumpFormat { | |
| /// Dump as a JSON file | |
| Json, | |
| /// Dump as an HTML file | |
| Html, | |
| } | |
| mod tests { | |
| use pretty_assertions::assert_eq; | |
| use super::*; | |
| fn test_auto_dump_format_variants() { | |
| assert_eq!(AutoDumpFormat::Json, AutoDumpFormat::Json); | |
| assert_eq!(AutoDumpFormat::Html, AutoDumpFormat::Html); | |
| } | |
| } | |