summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cli.rs2
-rw-r--r--src/config/mod.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/cli.rs b/src/cli.rs
index aff608a..f6e12ab 100644
--- a/src/cli.rs
+++ b/src/cli.rs
@@ -15,7 +15,7 @@ pub struct Cli {
/// Forces the session to be saved
#[clap(long)]
pub save_session: bool,
- /// Serve all LLMs as OpenAI-compatible API
+ /// Serve all LLMs via an OpenAI-compatible API
#[clap(long, value_name = "ADDRESS")]
pub serve: Option<Option<String>>,
/// Execute commands in natural language
diff --git a/src/config/mod.rs b/src/config/mod.rs
index 7807204..56f3122 100644
--- a/src/config/mod.rs
+++ b/src/config/mod.rs
@@ -396,7 +396,7 @@ impl Config {
let models = list_models(self);
let model = Model::find(&models, value);
match model {
- None => bail!("Invalid model '{}'", value),
+ None => bail!("No model '{}'", value),
Some(model) => {
if let Some(session) = self.session.as_mut() {
session.set_model(model.clone())?;