fix: gate sticker vision on image input

This commit is contained in:
Ayaan Zaidi authored and Ayaan Zaidi committed 2026-01-27 13:49:42 +05:30
1 parent a49250fffc
commit d7a00dc823
3 files changed
+4 -5

No files matched your search

+1 -1
View File
@@ -122,7 +122,7 @@ async function resolveStickerVisionSupport(params: {
});
const entry = findModelInCatalog(catalog, defaultModel.provider, defaultModel.model);
if (!entry) return false;
return entry.input ? modelSupportsVision(entry) : true;
return modelSupportsVision(entry);
} catch {
return false;
}