summaryrefslogtreecommitdiffstats
path: root/src/config
diff options
context:
space:
mode:
Diffstat (limited to 'src/config')
-rw-r--r--src/config/input.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config/input.rs b/src/config/input.rs
index 56ae5ed..0406a5e 100644
--- a/src/config/input.rs
+++ b/src/config/input.rs
@@ -189,7 +189,7 @@ impl Input {
stream: bool,
) -> Result<ChatCompletionsData> {
if !self.medias.is_empty() && !model.supports_vision() {
- bail!("The current model does not support vision.");
+ bail!("The current model does not support vision. Is the model configured with `supports_vision: true`?");
}
let messages = self.build_messages()?;
self.config.read().model.guard_max_input_tokens(&messages)?;