refac: switch to meta and params, remove source
This commit is contained in:
1 parent
7ccef3e77a
commit
f21c8626d6
12 files changed
+70
-107
No files matched your search
@@ -343,7 +343,7 @@
|
||||
const hasImages = messages.some((message) =>
|
||||
message.files?.some((file) => file.type === 'image')
|
||||
);
|
||||
if (hasImages && !(model.custom_info?.params.vision_capable ?? true)) {
|
||||
if (hasImages && !(model.custom_info?.meta.vision_capable ?? true)) {
|
||||
toast.error(
|
||||
$i18n.t('Model {{modelName}} is not vision capable', {
|
||||
modelName: model.custom_info?.name ?? model.name ?? model.id
|
||||
|
||||
Reference in new issue
Block a user