From 30daa40eb06cf34575c8eaa27e0edb3df65177e8 Mon Sep 17 00:00:00 2001 From: Jackson Goode <54308792+jacksongoode@users.noreply.github.com> Date: Sun, 9 Jul 2023 20:17:42 -0700 Subject: fix: grammar/wording corrections (#135) --- src/config/mod.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/config/mod.rs') diff --git a/src/config/mod.rs b/src/config/mod.rs index 6e68283..f29ece7 100644 --- a/src/config/mod.rs +++ b/src/config/mod.rs @@ -49,11 +49,11 @@ const SET_COMPLETIONS: [&str; 8] = [ #[derive(Debug, Clone, Deserialize)] #[serde(default)] pub struct Config { - /// Openai api key + /// OpenAI api key pub api_key: Option, - /// Openai organization id + /// OpenAI organization id pub organization_id: Option, - /// Openai model + /// OpenAI model #[serde(rename(serialize = "model", deserialize = "model"))] pub model_name: Option, /// What sampling temperature to use, between 0 and 2 @@ -517,7 +517,7 @@ fn create_config_file(config_path: &Path) -> Result<()> { if !ans { exit(0); } - let api_key = Text::new("Openai API Key:") + let api_key = Text::new("OpenAI API Key:") .prompt() .map_err(text_map_err)?; let mut raw_config = format!("api_key: {api_key}\n"); -- cgit v1.2.3