The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
chore(relay): remove unused relay ops module
Steven Enamakelbea61e52cc23
diff --git a/crates/openhuman-core/src/channels/providers/relay/ops.rs b/crates/openhuman-core/src/channels/providers/relay/ops.rsindex 3771c1918b..fe267d1673 100644--- a/crates/openhuman-core/src/channels/providers/relay/ops.rs+++ b/crates/openhuman-core/src/channels/providers/relay/ops.rs@@ -88,6 +88,11 @@ pub(crate) async fn run_relay_turn(request_id: String,) -> Vec<String> {let workspace_dir = config.workspace_dir.clone();+ // The thread is busy for the whole turn, so a background result due on it+ // waits instead of landing mid-turn. The pipeline's session id does not+ // name the thread, so the guard is taken on the thread itself; this task+ // runs in the caller's scope, which keys it to the caller's profile.+ let busy = crate::agent::orchestration::busy_guard::TurnBusy::start_on_thread(&thread_id);let channel = Arc::new(RelayChannel::new(params.channel.clone(),params.client_id(),@@ -160,6 +165,10 @@ pub(crate) async fn run_relay_turn(let replies = channel.sent();record(&workspace_dir, ¶ms, &thread_id, &replies).await;+ // Idle again: deliver anything that finished while the turn ran. No+ // `AgentTurnCompleted` maps to this thread, so nothing else would.+ drop(busy);+ crate::agent::orchestration::background_delivery::kick_delivery(&thread_id);tracing::info!(channel = %params.channel,thread_id = %thread_id,