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

launch: environment settings also apply to the engine's test start

Niko122169f9cc7b9e84
diff --git a/strata_cli/launch/runner.py b/strata_cli/launch/runner.py
index d1415716c..2c2a40d4b 100644
--- a/strata_cli/launch/runner.py
+++ b/strata_cli/launch/runner.py
@@ -263,7 +263,11 @@ class Runner:
argv += ["--feed", feed]
if self.components_dir:
argv += ["--components-dir", self.components_dir]
- p = self._spawn(argv)
+ env = self._env()
+ for key, value in self.s.extra.items(): # the engine's own environment settings (device selectors, ...) apply to its test start too
+ if not key.startswith("--") and value.lower() not in ("off", "unset", "none"):
+ env[key] = value
+ p = self._spawn(argv, env=env)
last = None
tail: list[str] = []
for line in p.stdout: # type: ignore[union-attr]