mcp_server_collection now also a library

own_assist now bundles the server collection by default
This commit is contained in:
2026-05-14 17:39:10 +02:00
parent 18221b7b56
commit 5f16db06f5
18 changed files with 717 additions and 141 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ impl AudioClient {
fn get(&self, url: Url) -> reqwest::RequestBuilder {
self.client.get(url).header(
"Authorization",
self.authorization.clone().unwrap_or(String::new()),
self.authorization.clone().unwrap_or_default(),
)
}
}
+6 -6
View File
@@ -108,11 +108,11 @@ fn start_recording_blocking_with_parameters(
loop {
thread::sleep(Duration::from_millis(100));
if let Ok(guard) = should_stop.lock() {
if *guard {
debug!("Stopping recording gracefully");
break;
}
if let Ok(guard) = should_stop.lock()
&& *guard
{
debug!("Stopping recording gracefully");
break;
}
}
@@ -173,7 +173,7 @@ pub fn stop_and_take_data(
.ok_or(RecordingError::RecordingAlreadyStopped)?;
let samples = handler.samples.clone();
let spec = handler.spec.clone();
let spec = handler.spec;
handler.stop_recording()?;