From 10bd71297db11c163f95625080d956469a1d8689 Mon Sep 17 00:00:00 2001 From: sigoden Date: Thu, 27 Jun 2024 06:55:41 +0000 Subject: [PATCH] chore: improve warning message --- src/config/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/mod.rs b/src/config/mod.rs index ff337c0..338d7bd 100644 --- a/src/config/mod.rs +++ b/src/config/mod.rs @@ -1021,7 +1021,7 @@ impl Config { if !model.supports_function_calling() { functions = None; if *IS_STDOUT_TERMINAL { - eprintln!("{}", warning_text("WARNING: the role or session includes functions, but the model or client does not support function calling.")); + eprintln!("{}", warning_text("WARNING: This LLM or client does not support function calling, despite the context requiring it.")); } } }