mirror of
https://github.com/sigoden/aichat
synced 2024-11-08 13:10:28 +00:00
chore: improve warning message
This commit is contained in:
parent
ec83167de6
commit
10bd71297d
@ -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."));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user