diff options
| author | Jackson Goode <54308792+jacksongoode@users.noreply.github.com> | 2023-07-09 20:17:42 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-07-10 11:17:42 +0800 |
| commit | 30daa40eb06cf34575c8eaa27e0edb3df65177e8 (patch) | |
| tree | 995e30f1e762345806993ea86bf10f290d0e186e /src | |
| parent | 97fc7de6754c8b5c383d7d5e3f9e26b3bbfb08fb (diff) | |
| download | aichat-30daa40eb06cf34575c8eaa27e0edb3df65177e8.tar.gz | |
fix: grammar/wording corrections (#135)
Diffstat (limited to 'src')
| -rw-r--r-- | src/config/mod.rs | 8 |
1 files changed, 4 insertions, 4 deletions
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<String>, - /// Openai organization id + /// OpenAI organization id pub organization_id: Option<String>, - /// Openai model + /// OpenAI model #[serde(rename(serialize = "model", deserialize = "model"))] pub model_name: Option<String>, /// 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"); |
