Skip to content

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++

integration after ui2: a second-try failure is shown once (details keep the first stop), error Details box is height-capped so the small tuning pop-up never scrolls, ui-flows expects the real tuner's Tune model button

Niko1221aaf37247da26
diff --git a/apps/desktop/scripts/ui-flows.mjs b/apps/desktop/scripts/ui-flows.mjs
index 4d8961422..1ad871825 100644
--- a/apps/desktop/scripts/ui-flows.mjs
+++ b/apps/desktop/scripts/ui-flows.mjs
@@ -540,7 +540,7 @@ await scenario('polish', { installed: true }, async ({ base, api, browser, dirs,
await clickText(page, /Go straight to the app/i);
await page.waitForURL(/#\/models/, { timeout: 15000 }).catch(() => {});
await page.getByText(/Conversation context/i).first().waitFor({ timeout: 30000 });
- check(await page.getByRole('button', { name: /Tune model/i }).count() === 0, 'the Models tab has no "Tune model" button');
+ check(await page.getByRole('button', { name: /^Tune model$/ }).count() === 1, 'the Models tab has the Tune model button (the real tuner, not the old short benchmark)');
await clickText(page, /Manage models/i);
await delay(500);
const rows = await page.locator('.native-manage-row').count();
diff --git a/apps/desktop/src-tauri/resources/harness/.gitignore b/apps/desktop/src-tauri/resources/harness/.gitignore
deleted file mode 100644
index 629d28795..000000000
--- a/apps/desktop/src-tauri/resources/harness/.gitignore
+++ /dev/null
@@ -1,3 +0,0 @@
-# built by apps/desktop/scripts/stage-harness.mjs, never committed
-*
-!.gitignore
diff --git a/apps/host/server/native-control.mjs b/apps/host/server/native-control.mjs
index 1e519bbb1..1aebd9ab3 100644
--- a/apps/host/server/native-control.mjs
+++ b/apps/host/server/native-control.mjs
@@ -233,7 +233,7 @@ export function createNativeControl({directory,requests=()=>[],changed=()=>{},sp
retried={words,detail};if(dropParallel){instance.parallel=1;if(!safer)parallelNote=FALLBACK_NOTE;}
append(id,`The first start stopped (${said}). Starting once more: ${detail}`);job.summary=words;job.details=[said,`Second try: ${detail}`];instance.notice=words;emit();
try{await startWith(retryConfig);append(id,'Strata Control reports the engine is ready (second try).');}
- catch(second){const said2=humanStartError(second);instance.status='error';instance.error=said2===said?said2:`${said2} (after one automatic second try with a safer setting: ${detail}; the first stop was: ${said})`;emit();throw new Error(instance.error);}}}
+ catch(second){const said2=humanStartError(second);instance.status='error';instance.error=said2;/* the first stop and the second try stay in job.details; the pop-up shows the last stop once */emit();throw new Error(instance.error);}}}
} else {
proc=spawnProcess(py,[join(repo(),'serve/server.py'),'--engine','strata','--config',configPath,'--port',String(cfg.port),'--host','127.0.0.1'],{cwd:repo(),detached:process.platform!=='win32',stdio:['ignore','pipe','pipe'],env:{...process.env,PYTHONUNBUFFERED:'1',PYTHONIOENCODING:'utf-8',STRATA_API_KEY:''}});
instances.set(id,instance);processes.set(id,proc);if(!defaultId||!args.multiple||wasDefault)defaultId=id;
diff --git a/apps/host/src/styles/app.css b/apps/host/src/styles/app.css
index 6e33e216c..10ef96234 100644
--- a/apps/host/src/styles/app.css
+++ b/apps/host/src/styles/app.css
@@ -7004,7 +7004,7 @@ textarea {
.st-bubble .st-code pre, .st-bubble .st-code pre code, .st-bubble .st-code .syntax-text { font-size: calc(var(--st-content-fs, 14px) * .8125); }
.st-msg--assistant .st-collapse__body { font-size: calc(var(--st-content-fs, 14px) * .8125); }
.error-notice .error-detail { margin-top: 6px; }
-.error-notice .error-detail pre { white-space: pre-wrap; overflow-wrap: anywhere; margin: 6px 0 0; font-family: var(--st-font-mono); }
+.error-notice .error-detail pre { white-space: pre-wrap; overflow-wrap: anywhere; margin: 6px 0 0; font-family: var(--st-font-mono); max-height: 3.3em; overflow-y: auto; }
.error-detail-text { white-space: pre-wrap; overflow-wrap: anywhere; margin: 6px 0 0; font-family: var(--st-font-mono); }
/* What you type and the small print under each message follow the reading size too, so the whole conversation changes together. */
.st-composer textarea { font-size: var(--st-content-fs, 14px); }