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

tools tests: the llama.cpp archive test passes a plain path (a file:// URI with a drive letter is not found on Windows)

Niko12210ae808f37d03
diff --git a/tools/test_setup_llama_archive.py b/tools/test_setup_llama_archive.py
index 433594f1a..9a7bda52b 100644
--- a/tools/test_setup_llama_archive.py
+++ b/tools/test_setup_llama_archive.py
@@ -40,7 +40,8 @@ class LlamaSourceArchive(unittest.TestCase):
stack = contextlib.ExitStack()
self.addCleanup(stack.close)
stack.enter_context(mock.patch.object(setup, "ROOT", self.root))
- stack.enter_context(mock.patch.object(setup, "LLAMA_CPP_ZIP", self.source.as_uri()))
+ # a plain path: download() copies it (file:// plus a Windows drive letter is not one)
+ stack.enter_context(mock.patch.object(setup, "LLAMA_CPP_ZIP", str(self.source)))
stack.enter_context(mock.patch.object(setup.urllib.request, "urlopen",
side_effect=AssertionError("test must not use the network")))
stack.enter_context(contextlib.redirect_stdout(io.StringIO()))