summaryrefslogtreecommitdiffstats
path: root/src/config.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.rs')
-rw-r--r--src/config.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/config.rs b/src/config.rs
index 0feed64..729320e 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -7,6 +7,8 @@ use serde::Deserialize;
pub struct Config {
/// Openai api key
pub api_key: String,
+ /// What sampling temperature to use, between 0 and 2
+ pub temperature: Option<f64>,
/// Set proxy
pub proxy: Option<String>,
/// Used only for debugging