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

tests follow the folder check and the compact save summary

Niko12213bf804c9c837
diff --git a/strata_cli/launch/screens.py b/strata_cli/launch/screens.py
index dcab4884e..f1f461173 100644
--- a/strata_cli/launch/screens.py
+++ b/strata_cli/launch/screens.py
@@ -1473,7 +1473,7 @@ class SaveScreen(Base):
model = dict(lines)["Model"].replace("Qwen3.8-Flash-Next ", "")
rows = [f"{model} \u00b7 {S.context_label(s.context)} \u00b7 memory {s.kv or 'int8'}",
f"Pictures {'on' if s.vision != 'off' else 'off'} \u00b7 Parallel {s.parallel or 'auto'} \u00b7 Tuning {s.tune}",
- f"Access {s.access}, port {s.port}" + f" \u00b7 Storage {s.data_dir or self.ctx.default_folder()}"]
+ f"Access {s.access}, port {s.port}" + (f" \u00b7 Storage {s.data_dir}" if s.data_dir else "")]
t.append("Save, then launch name:\n" if tiny else "Save as preset, then launch name:\n", style=f"bold {ACCENT}")
for ln in rows[:2 if tiny else 3]:
t.append(" " + ln + "\n")
diff --git a/tests/terminal/test_launch.py b/tests/terminal/test_launch.py
index 7603323bc..03467ebcb 100644
--- a/tests/terminal/test_launch.py
+++ b/tests/terminal/test_launch.py
@@ -808,10 +808,10 @@ class FlagsCommand(unittest.TestCase):
self.assertTrue(any("picked" in w for w in p["warnings"]))
def test_family_and_kv_and_gpu_and_data_dir_and_set(self):
- p = self.plan("--model", "iq3_xxs", "--family", "swift", "--kv", "q4_0", "--gpu", "0,1", "--data-dir", "/data/x",
+ p = self.plan("--model", "iq3_xxs", "--family", "swift", "--kv", "q4_0", "--gpu", "0,1", "--data-dir", str(self.home.base / "data-x"),
"--set", "prefill=65536", "--set", "STRATA_PIN_BY_NEED=1", "--tune-allow-small")
s = p["settings"]
- self.assertEqual((s["family"], s["kv"], s["gpus"], s["data_dir"], s["tune_allow_small"]), ("swift", "q4_0", [0, 1], "/data/x", True))
+ self.assertEqual((s["family"], s["kv"], s["gpus"], s["data_dir"], s["tune_allow_small"]), ("swift", "q4_0", [0, 1], str(self.home.base / "data-x"), True))
self.assertEqual(s["extra"], {"--prefill": "65536", "STRATA_PIN_BY_NEED": "1"})
self.assertIn("--set prefill=65536", p["flags"])
diff --git a/tests/terminal/test_tui_stress.py b/tests/terminal/test_tui_stress.py
index c526782a6..fb3ede830 100644
--- a/tests/terminal/test_tui_stress.py
+++ b/tests/terminal/test_tui_stress.py
@@ -127,6 +127,7 @@ class RetuneStopsOwnServerTests(unittest.TestCase):
r = Bare.__new__(Bare)
r.s = S.LaunchSettings(name="x")
r.restart_after = True
+ r._stop_first = []
r.said = []
r.emit = lambda *a, **k: r.said.append(a[1])
return r