summaryrefslogtreecommitdiffstats
path: root/src/config
diff options
context:
space:
mode:
Diffstat (limited to 'src/config')
-rw-r--r--src/config/mod.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/config/mod.rs b/src/config/mod.rs
index 6725c93..375faba 100644
--- a/src/config/mod.rs
+++ b/src/config/mod.rs
@@ -532,9 +532,7 @@ impl Config {
"function_calling" => {
let value = value.parse().with_context(|| "Invalid value")?;
if value && self.functions.is_empty() {
- bail!(
- "Cannot enable function_calling because there are no functions installed."
- )
+ bail!("Function calling cannot be enabled because no functions are installed.")
}
self.function_calling = value;
}