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
fix(relay): box dispatch future to cut debug-build stack usage
Steven Enamakel36af3c24643f
diff --git a/crates/openhuman-core/src/channels/providers/relay/mod.rs b/crates/openhuman-core/src/channels/providers/relay/mod.rsindex 82cd3e1765..06338f9960 100644--- a/crates/openhuman-core/src/channels/providers/relay/mod.rs+++ b/crates/openhuman-core/src/channels/providers/relay/mod.rs@@ -42,5 +42,7 @@ pub(crate) fn current_thread_id() -> Option<String> {}pub(crate) async fn with_thread<F: std::future::Future>(thread: String, future: F) -> F::Output {- RELAY_THREAD.scope(thread, future).await+ // Keep the dispatch future on the heap through task-local wrappers;+ // embedding it multiplies debug-build stack frames on ordinary worker threads.+ RELAY_THREAD.scope(thread, Box::pin(future)).await}