use PathBuf to check exists()
This commit is contained in:
parent
77f6770333
commit
d01cbe44ae
@ -68,7 +68,8 @@ pub async fn load_llama_model(
|
||||
log::info!("Attempting to launch server at path: {:?}", server_path);
|
||||
log::info!("Using arguments: {:?}", args);
|
||||
|
||||
if !server_path.exists() {
|
||||
let server_path_buf = PathBuf::from(&server_path);
|
||||
if !server_path_buf.exists() {
|
||||
log::error!(
|
||||
"Server binary not found at expected path: {:?}",
|
||||
server_path
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user