This commit is contained in:
parent
164f1db961
commit
a2571bbd85
1 changed files with 11 additions and 3 deletions
|
|
@ -234,6 +234,11 @@ async fn start_llm_server(
|
|||
.stdout(Stdio::piped())
|
||||
.stderr(Stdio::piped());
|
||||
|
||||
// Get the command as a string
|
||||
info!("Command: {}", cmd.get_program().to_string_lossy());
|
||||
info!("Args: {:?}", cmd.get_args().collect::<Vec<_>>());
|
||||
info!("Current dir: {:?}", cmd.get_current_dir());
|
||||
|
||||
// Spawn and don't wait for completion
|
||||
let child = cmd.spawn()?;
|
||||
|
||||
|
|
@ -267,6 +272,7 @@ async fn start_llm_server(
|
|||
.stdout(Stdio::piped())
|
||||
.stderr(Stdio::piped());
|
||||
|
||||
info!("LLM server command: {}", cmd);
|
||||
let child = cmd.spawn()?;
|
||||
info!("LLM server started with PID: {}", child.id());
|
||||
}
|
||||
|
|
@ -330,11 +336,13 @@ async fn start_embedding_server(
|
|||
.stdout(Stdio::piped())
|
||||
.stderr(Stdio::piped());
|
||||
|
||||
// Spawn and don't wait for completion
|
||||
// Get the command as a string
|
||||
info!("Command: {}", cmd.get_program().to_string_lossy());
|
||||
info!("Args: {:?}", cmd.get_args().collect::<Vec<_>>());
|
||||
info!("Current dir: {:?}", cmd.get_current_dir());
|
||||
|
||||
let child = cmd.spawn()?;
|
||||
|
||||
// Store the child process if you need to manage it later
|
||||
// You might want to add this to a process manager
|
||||
info!("Embedding server started with PID: {}", child.id());
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue