From 396b4611795de0092facb4ed7f5097fb4eba6b53 Mon Sep 17 00:00:00 2001 From: "Rodrigo Rodriguez (Pragmatismo)" Date: Fri, 7 Nov 2025 17:12:55 -0300 Subject: [PATCH] feat: add detailed logging for LLM server startup commands Add `info!` statements that output the exact command used to launch the LLM server on both Windows and Unix platforms. This enhances observability and aids debugging by showing the constructed command line before the process is spawned. --- src/llm/local.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/llm/local.rs b/src/llm/local.rs index bedcd4751..72acc4a53 100644 --- a/src/llm/local.rs +++ b/src/llm/local.rs @@ -237,6 +237,7 @@ pub async fn start_llm_server( "cd {} && .\\llama-server.exe {} --verbose>llm-stdout.log", llama_cpp_path, args )); + info!("Executing LLM server command: cd {} && .\\llama-server.exe {} --verbose", llama_cpp_path, args); cmd.spawn()?; } else { let mut cmd = tokio::process::Command::new("sh"); @@ -244,6 +245,7 @@ pub async fn start_llm_server( "cd {} && ./llama-server {} --verbose >llm-stdout.log 2>&1 &", llama_cpp_path, args )); + info!("Executing LLM server command: cd {} && ./llama-server {} --verbose", llama_cpp_path, args); cmd.spawn()?; }