Skip to content

The agent that grows with you

fix(local-runtime): spawn llama-server with --no-ui

Huklab039e679ea33
diff --git a/hermes_cli/local_runtime/supervisor.py b/hermes_cli/local_runtime/supervisor.py
index bbae27e6841..0160ebef840 100644
--- a/hermes_cli/local_runtime/supervisor.py
+++ b/hermes_cli/local_runtime/supervisor.py
@@ -177,7 +177,7 @@ class LlamaServerSupervisor:
"--models-autoload",
"--metrics", # opt-in flag; supervisor telemetry needs it
"--slots", # /slots endpoint is also opt-in; is_idle reads it
- "--no-webui",
+ "--no-ui",
"--jinja",
# Direct I/O on model load bypasses the page cache so a multi-GB load doesn't evict
# half the OS cache — measured faster on NVMe, and our router bounces reload often.
diff --git a/tests/hermes_cli/test_local_preset_admission.py b/tests/hermes_cli/test_local_preset_admission.py
index 9728fd47170..10364949736 100644
--- a/tests/hermes_cli/test_local_preset_admission.py
+++ b/tests/hermes_cli/test_local_preset_admission.py
@@ -87,3 +87,6 @@ def test_supervisor_with_presets_does_not_scan_unadmitted_files(tmp_path, monkey
sup._log_handle.close()
assert "--models-preset" in calls[0]
assert "--models-dir" not in calls[0]
+ # llama.cpp b10964 dropped the --no-webui spelling; the router must use --no-ui.
+ assert "--no-ui" in calls[0]
+ assert "--no-webui" not in calls[0]