mcp_server_collection now also a library
own_assist now bundles the server collection by default
This commit is contained in:
@@ -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(),
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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()?;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user