Fix cargo fmt formatting and diarize threading test mock

This commit is contained in:
Claude
2026-03-20 13:56:32 -07:00
parent 0771508203
commit 42ccd3e21d
9 changed files with 39 additions and 30 deletions

View File

@@ -22,9 +22,7 @@ pub fn llama_start(
threads: Option<u32>,
) -> Result<LlamaStatus, String> {
let config = LlamaConfig {
binary_path: PathBuf::from(
binary_path.unwrap_or_else(|| "llama-server".to_string()),
),
binary_path: PathBuf::from(binary_path.unwrap_or_else(|| "llama-server".to_string())),
model_path: PathBuf::from(model_path),
port: port.unwrap_or(0),
n_gpu_layers: n_gpu_layers.unwrap_or(0),