Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
address review (claude): recognize hyphen-free qwen…vl ids, gate Caption all on ready count
[._.]/ Adam Eivy91b5a8dc3b43
diff --git a/client/src/pages/LoraDatasetDetail.jsx b/client/src/pages/LoraDatasetDetail.jsxindex dc7eb3c753..7b9b946481 100644--- a/client/src/pages/LoraDatasetDetail.jsx+++ b/client/src/pages/LoraDatasetDetail.jsx@@ -378,7 +378,7 @@ export default function LoraDatasetDetail() {<buttontype="button"onClick={captionAll}- disabled={captionStarting || !!captionRun}+ disabled={captionStarting || !!captionRun || !readiness.ready}className="px-3 py-2 text-sm rounded bg-port-card border border-port-border text-gray-300 hover:text-white flex items-center gap-2 disabled:opacity-50">{captionStarting || captionRun ? <Loader2 className="w-4 h-4 animate-spin" /> : <Tags className="w-4 h-4" />}diff --git a/client/src/utils/providers.js b/client/src/utils/providers.jsindex 47751cab53..33483a6fba 100644--- a/client/src/utils/providers.js+++ b/client/src/utils/providers.js@@ -56,7 +56,7 @@ export const isEmbeddingModel = (id) =>export const isVisionModel = (id) =>typeof id === 'string' && id.length > 0 &&// Mirror of VISION_RE in server/lib/localModelHeuristics.js — keep in lockstep.- /(?:^|[-_/:])vision(?:[-_/:.]|$)|(?:^|[-_/:])vl(?:\d|[-_/:.]|$)|llava|bakllava|moondream|minicpm-?v|pixtral|gemma-?3|smolvlm|internvl|cogvlm|glm-?4v|phi-?3\.5?-vision|phi-?4-multimodal|got-ocr|idefics|fuyu|paligemma|kosmos|nanollava/i.test(id);+ /(?:^|[-_/:])vision(?:[-_/:.]|$)|(?:^|[-_/:])vl(?:\d|[-_/:.]|$)|qwen[\d.]*-?vl|llava|bakllava|moondream|minicpm-?v|pixtral|gemma-?3|smolvlm|internvl|cogvlm|glm-?4v|phi-?3\.5?-vision|phi-?4-multimodal|got-ocr|idefics|fuyu|paligemma|kosmos|nanollava/i.test(id);/*** Selectable models for a generation/chat picker: drops internal sentinels ANDdiff --git a/client/src/utils/providers.test.js b/client/src/utils/providers.test.jsindex efa017ef40..cf6b359eff 100644--- a/client/src/utils/providers.test.js+++ b/client/src/utils/providers.test.js@@ -202,7 +202,7 @@ describe('isEmbeddingModel / filterGenerationModels', () => {describe('isVisionModel (mirror of server localModelHeuristics)', () => {it('flags known vision model ids', () => {for (const id of [- 'qwen2.5-vl:7b', 'llava:latest', 'moondream:latest', 'minicpm-v:8b',+ 'qwen2.5-vl:7b', 'qwen2.5vl', 'qwen2.5vl:32b', 'llava:latest', 'moondream:latest', 'minicpm-v:8b','llama3.2-vision:11b', 'pixtral-12b', 'gemma3:4b', 'internvl2:8b', 'glm-4v:9b',]) {expect(isVisionModel(id), id).toBe(true);diff --git a/server/lib/localModelHeuristics.js b/server/lib/localModelHeuristics.jsindex 8ff64eae21..9468ed47f0 100644--- a/server/lib/localModelHeuristics.js+++ b/server/lib/localModelHeuristics.js@@ -48,6 +48,10 @@ export function isGenerationModel(id) {const VISION_RE = new RegExp(['(?:^|[-_/:])vision(?:[-_/:.]|$)','(?:^|[-_/:])vl(?:\\d|[-_/:.]|$)',+ // Qwen-VL ids glue the family to `vl` with a version digit and no separator+ // (Ollama tags it `qwen2.5vl`, not `qwen2.5-vl`), so the bounded `vl` rule+ // above misses them — match the qwen…vl form explicitly.+ 'qwen[\\d.]*-?vl','llava', 'bakllava', 'moondream', 'minicpm-?v', 'pixtral', 'gemma-?3','smolvlm', 'internvl', 'cogvlm', 'glm-?4v', 'phi-?3\\.5?-vision','phi-?4-multimodal', 'got-ocr', 'idefics', 'fuyu', 'paligemma',diff --git a/server/lib/localModelHeuristics.test.js b/server/lib/localModelHeuristics.test.jsindex 3cc0f949dc..53485d0e04 100644--- a/server/lib/localModelHeuristics.test.js+++ b/server/lib/localModelHeuristics.test.js@@ -46,6 +46,8 @@ describe('localModelHeuristics', () => {it('flags known vision/multimodal model ids', () => {for (const id of ['qwen2.5-vl:7b',+ 'qwen2.5vl', // Ollama's hyphen-free tag for Qwen2.5-VL+ 'qwen2.5vl:32b','llava:latest','bakllava','moondream:latest',