chore: improve warning message

This commit is contained in:
sigoden 2024-06-27 06:55:41 +00:00
parent ec83167de6
commit 10bd71297d

View File

@ -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."));
}
}
}