From 8bf26fb2c381c158e7b4ae40008822e975109580 Mon Sep 17 00:00:00 2001 From: Alexandros Sigalas Date: Thu, 19 Feb 2026 12:17:47 +0200 Subject: [PATCH] fix(server): Fix autodetection for llama-server executable --- server.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/server.py b/server.py index 7de9ef8..ce390f7 100644 --- a/server.py +++ b/server.py @@ -35,8 +35,9 @@ def _find_llama_server() -> str | None: import shutil # Check if in PATH - if shutil.which("llama-server"): - return "llama-server" + llama_cmd = shutil.which("llama-server") + if llama_cmd: + return llama_cmd # Common build locations candidates = [