This commit is contained in:
Timothy Jaeryang Baek committed 2025-02-03 14:24:30 -08:00
1 parent d87a7b2f8b
commit db0ff839dd
1 file changed
+1 -1
+1 -1
View File
@@ -1402,7 +1402,7 @@
const messages = createMessagesList(parentId);
// If there are image files, check if model is vision capable
const hasImages = messages.some((message) =>
message.files?.some((file) => file.type === 'image')
message?.files?.some((file) => file.type === 'image')
);
if (hasImages && !(model.info?.meta?.capabilities?.vision ?? true)) {