doubleo7/swear_cleanup/src/prompts.rs

7 lines
212 B
Rust
Raw Normal View History

use std::sync::LazyLock;
use crate::models::Prompts;
pub(crate) static PROMPTS: LazyLock<Prompts> = LazyLock::new(|| {
toml::from_str(include_str!("prompts.toml")).expect("Could not parse prompts.toml")
});