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

@@ -237,11 +237,7 @@ impl LlamaManager {
/// Get the current status.
pub fn status(&self) -> LlamaStatus {
let running = self
.process
.lock()
.ok()
.map_or(false, |p| p.is_some());
let running = self.process.lock().ok().map_or(false, |p| p.is_some());
let port = self.port.lock().ok().map_or(0, |p| *p);
let model = self
.model_path