feat(pi): add vision model support

Extract a shared hasType helper for model filtering and add
vision (text + image) input capability to compatible models.
Also tag two llama-swap models with the vision type.
This commit is contained in:
2026-05-01 15:03:26 -04:00
parent ab63211a75
commit 1812d2ea03
2 changed files with 20 additions and 5 deletions

View File

@@ -335,7 +335,10 @@ in
-dev CUDA1
'';
metadata = {
type = [ "text-generation" ];
type = [
"text-generation"
"vision"
];
};
};
@@ -612,6 +615,7 @@ in
type = [
"text-generation"
"coding"
"vision"
];
};
};