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

serve: report the engine's own version (INFO engine=) over BUILD.json's (from PR #41, midhatn)

Niko12213e1145d2f3d5
diff --git a/serve/server.py b/serve/server.py
index 46f775a67..2f58241d0 100644
--- a/serve/server.py
+++ b/serve/server.py
@@ -179,6 +179,10 @@ class StrataEngine:
loading.set()
if self.max_context <= 0:
raise RuntimeError("the engine exited before it was ready" + (f" (see {log})" if log else ""))
+ # (from PR #41, midhatn) a locally built engine can sit next to another release's BUILD.json: engines that
+ # report their own version (INFO engine=, 0.1.8+) win, the manifest stays the fallback for older ones
+ if self.info.get("engine"):
+ self.info["version"] = str(self.info["engine"])
# the engine's stdout on a thread, so a request can wait with a timeout (heartbeats, cancel checks)
self.lines: queue.Queue = queue.Queue()
threading.Thread(target=self._pump, daemon=True).start()