Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions desktop/src-tauri/src/commands/agents.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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) ───────────
Expand Down
4 changes: 2 additions & 2 deletions desktop/src-tauri/src/commands/mesh_llm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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}")),
};
Expand All @@ -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() {
Expand Down