fix: gate sticker vision on image input
This commit is contained in:
@@ -27,7 +27,7 @@ async function resolveStickerVisionSupport(cfg, agentId) {
|
||||
const defaultModel = resolveDefaultModelForAgent({ cfg, agentId });
|
||||
const entry = findModelInCatalog(catalog, defaultModel.provider, defaultModel.model);
|
||||
if (!entry) return false;
|
||||
return entry.input ? modelSupportsVision(entry) : true;
|
||||
return modelSupportsVision(entry);
|
||||
} catch {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user