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++
load retry: the same stop twice is reported once (the second try stays in the job's details); fixes the 1280x700 tuning-error pop-up that scrolled in ui-flows
Niko12215fb8fa95b351
diff --git a/apps/host/server/native-control.mjs b/apps/host/server/native-control.mjsindex c0134c19b..192e73838 100644--- a/apps/host/server/native-control.mjs+++ b/apps/host/server/native-control.mjs@@ -205,7 +205,7 @@ export function createNativeControl({directory,requests=()=>[],changed=()=>{},spif(!safer){instance.status='error';instance.error=said;emit();throw new Error(said);}retried=safer;append(id,`The first start stopped (${said}). Starting once more: ${safer.detail}`);job.summary=safer.words;job.details=[said,`Second try: ${safer.detail}`];instance.notice=safer.words;emit();try{await startWith(safer.config);append(id,'Strata Control reports the engine is ready (second try).');}- catch(second){const said2=humanStartError(second);instance.status='error';instance.error=`${said2} (after one automatic second try with a safer setting: ${safer.detail}; the first stop was: ${said})`;emit();throw new Error(instance.error);}}+ catch(second){const said2=humanStartError(second);instance.status='error';instance.error=said2===said?said2:`${said2} (after one automatic second try with a safer setting: ${safer.detail}; the first stop was: ${said})`;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/tests/packaged-control.test.mjs b/apps/host/tests/packaged-control.test.mjsindex 5048c7e05..e16ececa1 100644--- a/apps/host/tests/packaged-control.test.mjs+++ b/apps/host/tests/packaged-control.test.mjs@@ -336,8 +336,8 @@ test('packaged: the second try is the last one: a second failure is reported witconst job = await finish(f.native, f.native.operation('load', { model: 'iq2_xs' }).id);assert.equal(job.state, 'error');assert.equal(f.calls.filter(c => c[0] === 'start').length, 2);- assert.match(job.error, /after one automatic second try/);- assert.match(job.error, /the first stop was/);+ assert.doesNotMatch(job.error, /first stop was/, 'the same stop twice is said once, not repeated');+ assert.match(job.details.join(' '), /Second try/, 'the second try stays in the details');} finally { await f.native.close(); f.cleanup(); }});