diff options
| author | sigoden <sigoden@gmail.com> | 2023-10-27 18:44:27 +0800 |
|---|---|---|
| committer | sigoden <sigoden@gmail.com> | 2023-10-27 18:44:27 +0800 |
| commit | dbbbbfd5d624c555be90a51794f59f45b09534fb (patch) | |
| tree | a791ab9218690990e2d49cd361bc5a3567269352 /src | |
| parent | d43425e22b7b6eebe2e3c4036b9669cd754fa2a7 (diff) | |
| download | aichat-dbbbbfd5d624c555be90a51794f59f45b09534fb.tar.gz | |
chore: update readme and comments
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 4360dcf..47fbece 100644 --- a/src/config/mod.rs +++ b/src/config/mod.rs @@ -54,13 +54,13 @@ pub struct Config { pub dry_run: bool, /// If set ture, start a conversation immediately upon repl pub conversation_first: bool, - /// Is ligth theme + /// If set true, use light theme pub light_theme: bool, /// Automatically copy the last output to the clipboard pub auto_copy: bool, /// Use vi keybindings, overriding the default Emacs keybindings pub vi_keybindings: bool, - /// LLM clients + /// Setup LLM platforms pub clients: Vec<ClientConfig>, /// Predefined roles #[serde(skip)] @@ -506,9 +506,9 @@ fn create_config_file(config_path: &Path) -> Result<()> { exit(0); } - let client = Select::new("Choose bots?", all_clients()) + let client = Select::new("Select platform?", all_clients()) .prompt() - .map_err(|_| anyhow!("An error happened when selecting bots, try again later."))?; + .map_err(|_| anyhow!("An error happened when selecting platform, try again later."))?; let mut raw_config = create_client_config(client)?; |
