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: a setup message that ends with a full stop does not get a second one ('engine..'); test
Niko1221f53664c15955
diff --git a/strata_cli/launch/runner.py b/strata_cli/launch/runner.pyindex 5ecc8095c..2e3a13916 100644--- a/strata_cli/launch/runner.py+++ b/strata_cli/launch/runner.py@@ -116,7 +116,7 @@ def setup_failure(lines: list[str], err: str, hint: str, details: str | None, ow"Pick a folder you own for the model files (the Folder step, or --data-dir D:\\Strata-models) and start again. ""Nothing was downloaded." + where, 6)return LaunchError(f"The model could not be installed. Setup stopped with an error ({crashed}).", "Run it again." + where, 6)- return LaunchError("The model could not be installed." + (f" {err}." if err else ""),+ return LaunchError("The model could not be installed." + (f" {err.rstrip('.')}." if err else ""),(hint or ("Run it again: finished steps are skipped." if own_files else"Run it again: finished steps are skipped and a download continues where it stopped."))+ (f" Details: {details}" if details else ""), 6)diff --git a/tests/terminal/test_setup_failure_words.py b/tests/terminal/test_setup_failure_words.pyindex 44db19a80..1cf70ec66 100644--- a/tests/terminal/test_setup_failure_words.py+++ b/tests/terminal/test_setup_failure_words.py@@ -68,5 +68,11 @@ class SetupFailureWords(unittest.TestCase):self.assertIsNone(run.keep_setup_output(["x"]))+ def test_a_message_that_ends_with_a_full_stop_does_not_get_a_second_one(self):+ error = setup_failure(TRACEBACK, "Strata can't reach GitHub to download the DeepSeek engine.", "Check the internet connection.", "/tmp/a.setup.log", False)+ self.assertIn("DeepSeek engine. Check", error.text + " " + error.next)+ self.assertNotIn("engine..", error.text)++if __name__ == "__main__":unittest.main()