mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
fix(desktop): clear clippy lints in agents/mesh_llm commands (#817)
Signed-off-by: Wes <wesbillman@users.noreply.github.com> Co-authored-by: Brain <21994759fc7a6fa6b965551d35cfd7897d262f2495467f2d78694ddcfa6a5c7e@sprout-oss.stage.blox.sqprod.co>
This commit is contained in:
@@ -502,9 +502,7 @@ pub async fn create_managed_agent(
|
||||
.iter()
|
||||
.find(|record| record.pubkey == pubkey)
|
||||
.ok_or_else(|| "created agent disappeared unexpectedly".to_string())?;
|
||||
let agent = build_managed_agent_summary(&app, record, &runtimes)?;
|
||||
|
||||
agent
|
||||
build_managed_agent_summary(&app, record, &runtimes)?
|
||||
};
|
||||
|
||||
// ── Phase 3b: local spawn (async preflight outside store lock) ───────────
|
||||
|
||||
@@ -73,7 +73,7 @@ pub(crate) async fn ensure_client_node_for_model(
|
||||
}
|
||||
}
|
||||
|
||||
let availability = match relay::query_relay(&state, &[mesh_llm::mesh_status_filter()]).await {
|
||||
let availability = match relay::query_relay(state, &[mesh_llm::mesh_status_filter()]).await {
|
||||
Ok(events) => mesh_llm::availability_from_events(events),
|
||||
Err(error) => return Err(format!("failed to read relay mesh status: {error}")),
|
||||
};
|
||||
@@ -96,7 +96,7 @@ pub(crate) async fn ensure_client_node_for_model(
|
||||
iroh_relay_url: None,
|
||||
iroh_relay_auth: None,
|
||||
};
|
||||
hydrate_private_relay_config(&state, &mut start).await?;
|
||||
hydrate_private_relay_config(state, &mut start).await?;
|
||||
|
||||
let mut runtime = state.mesh_llm_runtime.lock().await;
|
||||
if runtime.is_some() {
|
||||
|
||||
Reference in New Issue
Block a user