Qwen3.8-Flash-Next on any consumer hardware: one-click install for Windows / Linux. Strata inference engine, OpenAI/Anthropic API on localhost, optional image input.
C++
Pictures: plainer refusal wording, e2e reads answer tokens only
Niko122152f50ba1f1b1
diff --git a/apps/desktop/scripts/pics-e2e.mjs b/apps/desktop/scripts/pics-e2e.mjsindex 7bd08f678..9be4eb421 100644--- a/apps/desktop/scripts/pics-e2e.mjs+++ b/apps/desktop/scripts/pics-e2e.mjs@@ -54,7 +54,7 @@ async function chat(extra, message = QUESTION) {if (!line.trim()) continue;let f; try { f = JSON.parse(line); } catch { continue; }if (f.type === 'error') error = f.message ?? 'error';- else if (typeof f.text === 'string' && f.type !== 'reasoning' && f.type !== 'thinking') text += f.text;+ else if (typeof f.text === 'string' && f.type === 'delta') text += f.text;}return { status: 200, text, error };}@@ -131,7 +131,7 @@ async function main() {await saveApi('Small picture model', args.vlm, [{ id: smol, name: 'SmolVLM', vision: false }]);const off = await readsAfter('Small picture model', smol, false);const notRead = await chat({ remoteModel: { connectionId: off.c.id, modelId: smol } });- record('a model set not to read pictures refuses them and says where to change it', notRead.status === 409 && /set not to read pictures/.test(notRead.message ?? ''), `${notRead.status} ${notRead.message ?? ''}`);+ record('a model that does not read pictures refuses them and says where to change it', notRead.status === 409 && /does not read pictures/.test(notRead.message ?? ''), `${notRead.status} ${notRead.message ?? ''}`);await saveApi('Small picture model', args.vlm, [{ id: smol, name: 'SmolVLM', vision: null }]);await saveApi('Other style', 'https://api.anthropic.com/v1', [{ id: 'claude-x', name: 'Claude' }], 'anthropic');diff --git a/apps/host/server/index.mjs b/apps/host/server/index.mjsindex fd2ec429b..dc5b0f999 100644--- a/apps/host/server/index.mjs+++ b/apps/host/server/index.mjs@@ -142,9 +142,10 @@ async function pictureRefusal(connection, model) {if (connection.protocol !== 'openai-chat') return `Pictures can only be sent to model APIs that use the OpenAI chat style. "${connection.name}" uses a different style, so the picture stays in the preview. Add the model through an OpenAI-compatible address (a /v1 address) to send pictures.`;const answer = effectiveVision(model, await visionProbe.check(connection, model.id));if (answer === true) return null;+ const fix = `open Settings → Models, edit "${connection.name}" and tick "This model reads pictures"`;return answer === false- ? `"${model.name}" is set not to read pictures. If it does, open Settings \u2192 Models, edit "${connection.name}" and tick "This model reads pictures".`- : `Strata cannot tell that "${model.name}" reads pictures. If it is a picture-reading model, open Settings \u2192 Models, edit "${connection.name}" and tick "This model reads pictures". Otherwise choose a model that reads pictures.`;+ ? `"${model.name}" does not read pictures, as far as its server says (a llama-server started without --mmproj, or a text-only model). If that is wrong, ${fix}. Otherwise choose a model that reads pictures.`+ : `Strata cannot tell that "${model.name}" reads pictures. If it does, ${fix}. Otherwise choose a model that reads pictures.`;}const agent = createAgentBridge({tools: () => agentTools.profileView(),