diff options
Diffstat (limited to 'src/config')
| -rw-r--r-- | src/config/mod.rs | 4 |
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; } |
