diff --git a/src/generation/options.rs b/src/generation/options.rs index c8c8c6c..4667f91 100644 --- a/src/generation/options.rs +++ b/src/generation/options.rs @@ -1,7 +1,7 @@ -use serde::Serialize; +use serde::{Serialize, Deserialize}; /// Options for generation requests to Ollama. -#[derive(Debug, Clone, Serialize, Default)] +#[derive(Debug, Clone, Serialize, Deserialize, Default)] pub struct GenerationOptions { pub(super) mirostat: Option, pub(super) mirostat_eta: Option,