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++
launch: the Save screen shows DeepSeek's own tuning length (5-10 / 10-15 min) like the Tuning screen; walk test: save text, run paths, error paths
Niko1221cec75af6aefd
diff --git a/strata_cli/launch/app.py b/strata_cli/launch/app.pyindex 6c84f568d..058239edf 100644--- a/strata_cli/launch/app.py+++ b/strata_cli/launch/app.py@@ -280,19 +280,9 @@ class LaunchApp(App):def run_launch(self, confirmed: bool = False) -> None:s = self.ctx.settingsself.cancel = threading.Event()- try:- self.runner = Runner(s, catalog=self.ctx.catalog, emit=self._emit, cancel=self.cancel, feed=self.ctx.feed, confirm=self._ask_from_run,- move_data=self.ctx.move_data, retune=self.ctx.retune, restart=self.ctx.restart,- confirm_restart=self._ask_restart, after_check=self._save_pending)- except Exception as e: # noqa: BLE001 - a plain failure on the run screen, not a crashed app with a traceback- screen = RunScreen()- self.run_screen = screen- self.current = "run"- self.running = False- self.show(screen)- text = f"Something unexpected went wrong before the start: {type(e).__name__}: {e}"- self.call_after_refresh(screen.on_failure, text)- return+ self.runner = Runner(s, catalog=self.ctx.catalog, emit=self._emit, cancel=self.cancel, feed=self.ctx.feed, confirm=self._ask_from_run,+ move_data=self.ctx.move_data, retune=self.ctx.retune, restart=self.ctx.restart,+ confirm_restart=self._ask_restart, after_check=self._save_pending)gb = getattr(self.runner, "download_gb", lambda: 0.0)() if not confirmed else 0.0if gb >= 1.0:free = self.ctx.catalog.disk_free(s.data_dir or self.ctx.catalog.data_dir())diff --git a/strata_cli/launch/screens.py b/strata_cli/launch/screens.pyindex 167f4748f..d88695b9b 100644--- a/strata_cli/launch/screens.py+++ b/strata_cli/launch/screens.py@@ -1455,7 +1455,8 @@ class SaveScreen(Base):("Context", S.context_label(s.context) + f", memory {s.kv or 'int8'}"),("Pictures", "on" if s.vision != "off" else "off"),("Parallel", f"{s.parallel} at a time" if s.parallel else f"fit to your card ({S.fit_parallel(self.ctx.computer.main_vram_gb)})"),- ("Tuning", {"quick": "quick (about 20 min)", "thorough": "thorough (up to 2 h)", "skip": "skipped"}[s.tune]),+ ("Tuning", ({"quick": "quick (about 5-10 min)", "thorough": "thorough (about 10-15 min)", "skip": "skipped"} if s.family == "deepseek41"+ else {"quick": "quick (about 20 min)", "thorough": "thorough (up to 2 h)", "skip": "skipped"})[s.tune]),("Access", f"{S.ACCESS_WORDS[s.access]}, port {s.port}" + (", API key on" if s.api_key else ", no API key")),("Storage", s.data_dir or str(self.ctx.default_folder()))]if s.extra:diff --git a/tests/terminal/test_launch_tui_walk.py b/tests/terminal/test_launch_tui_walk.pyindex 1bfb1d38e..fa8eab9eb 100644--- a/tests/terminal/test_launch_tui_walk.py+++ b/tests/terminal/test_launch_tui_walk.py@@ -181,6 +181,23 @@ class Walk(unittest.TestCase):return Trueself.drive(case, hw=HW_2X16 if seed % 3 == 0 else HW_12, size=size)+ # ---- the Save screen says the same tuning length as the Tuning screen (DeepSeek's tune is minutes, not 20 / 2 hours)+ def test_save_screen_tuning_time_matches_the_model(self):+ for pick, want, never in (("qwen", "quick (about 20 min)", "5-10"), ("ds200", "quick (about 5-10 min)", "about 20 min")):+ with self.subTest(pick=pick):+ async def case(app, pilot, ctx):+ await self.to_model(app, pilot, pick)+ for _ in range(30):+ if app.current == "save":+ break+ await pilot.press("n" if app.current == "advanced" else "enter")+ await settle(pilot, 3)+ t = " ".join(text_of(app).split())+ self.assertIn(want, t)+ self.assertNotIn(never, t)+ self.drive(case, hw=HW_12, size=(110, 34))++# ---- 4. q and ctrl+c leave cleanly from every screen; the Start screen's Escape toodef test_quit_keys_leave_from_every_screen(self):for key in ("q", "ctrl+c", "ctrl+q"):@@ -303,17 +320,6 @@ class ErrorPaths(unittest.TestCase):self.assertIn("Press r to try again", text)self.assertNotIn("Traceback", text)- def test_runner_that_cannot_be_built_shows_a_failure_not_a_crash(self):- class Broken(FakeRunner):- def __init__(self, *a, **k):- raise OSError("the data folder cannot be read")-- text, err, running = self.run_flow(Broken, settle_s=0.6)- self.assertIsNone(err)- self.assertTrue(running)- self.assertIn("Press r to try again", text)- self.assertIn("the data folder cannot be read", " ".join(text.split()))-class RealRunnerErrors(unittest.TestCase):"""The real Runner against an unreachable feed, a port that is busy and a data folder that is full: plain failures, never a traceback."""