summaryrefslogtreecommitdiffstats
path: root/src/config/input.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/config/input.rs')
-rw-r--r--src/config/input.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/config/input.rs b/src/config/input.rs
index 618bd33..58c0065 100644
--- a/src/config/input.rs
+++ b/src/config/input.rs
@@ -249,9 +249,6 @@ impl Input {
model: &Model,
stream: bool,
) -> Result<ChatCompletionsData> {
- if !self.medias.is_empty() && !model.supports_vision() {
- bail!("The current model does not support vision. Is the model configured with `supports_vision: true`?");
- }
let mut messages = self.build_messages()?;
if model.no_system_message() {
patch_system_message(&mut messages);