Skip to content

Commit 192388a

Browse files
wesbillmanBrain
andauthored
fix(desktop): clear clippy lints in agents/mesh_llm commands (#817)
Signed-off-by: Wes <[email protected]> Co-authored-by: Brain <21994759fc7a6fa6b965551d35cfd7897d262f2495467f2d78694ddcfa6a5c7e@sprout-oss.stage.blox.sqprod.co>
1 parent 41a3fc1 commit 192388a

2 files changed

Lines changed: 3 additions & 5 deletions

File tree

‎desktop/src-tauri/src/commands/agents.rs‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -502,9 +502,7 @@ pub async fn create_managed_agent(
502502
.iter()
503503
.find(|record| record.pubkey == pubkey)
504504
.ok_or_else(|| "created agent disappeared unexpectedly".to_string())?;
505-
let agent = build_managed_agent_summary(&app, record, &runtimes)?;
506-
507-
agent
505+
build_managed_agent_summary(&app, record, &runtimes)?
508506
};
509507

510508
// ── Phase 3b: local spawn (async preflight outside store lock) ───────────

‎desktop/src-tauri/src/commands/mesh_llm.rs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ pub(crate) async fn ensure_client_node_for_model(
7373
}
7474
}
7575

76-
let availability = match relay::query_relay(&state, &[mesh_llm::mesh_status_filter()]).await {
76+
let availability = match relay::query_relay(state, &[mesh_llm::mesh_status_filter()]).await {
7777
Ok(events) => mesh_llm::availability_from_events(events),
7878
Err(error) => return Err(format!("failed to read relay mesh status: {error}")),
7979
};
@@ -96,7 +96,7 @@ pub(crate) async fn ensure_client_node_for_model(
9696
iroh_relay_url: None,
9797
iroh_relay_auth: None,
9898
};
99-
hydrate_private_relay_config(&state, &mut start).await?;
99+
hydrate_private_relay_config(state, &mut start).await?;
100100

101101
let mut runtime = state.mesh_llm_runtime.lock().await;
102102
if runtime.is_some() {

0 commit comments

Comments
 (0)