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: files changed crates/openhuman-embed/examples/profiles.rs,crates/openhuman-embed/tests/saas_p
Steven Enamakel2aa14294cf01
diff --git a/crates/openhuman-embed/examples/profiles.rs b/crates/openhuman-embed/examples/profiles.rsindex 61ea568542..9a2e735819 100644--- a/crates/openhuman-embed/examples/profiles.rs+++ b/crates/openhuman-embed/examples/profiles.rs@@ -38,7 +38,8 @@ fn main() -> anyhow::Result<()> {.thread_stack_size(AGENT_WORKER_STACK_BYTES).max_blocking_threads(MAX_BLOCKING_THREADS).build()?;- runtime.block_on(run())+ // Run on a worker thread, whose stack is the tuned one.+ runtime.block_on(async { tokio::spawn(run()).await? })}async fn run() -> anyhow::Result<()> {diff --git a/crates/openhuman-embed/tests/saas_profiles.rs b/crates/openhuman-embed/tests/saas_profiles.rsindex 4ee7513cda..8798bf107f 100644--- a/crates/openhuman-embed/tests/saas_profiles.rs+++ b/crates/openhuman-embed/tests/saas_profiles.rs@@ -21,7 +21,11 @@ const TURN: Duration = Duration::from_secs(120);#[test]fn profiles_are_isolated_held_and_relayed() {let _ = env_logger::builder().is_test(true).try_init();- runtime().block_on(scenario());+ // On a worker thread: a turn dispatched from the test thread itself would+ // overflow its default stack.+ let rt = runtime();+ rt.block_on(async { tokio::spawn(scenario()).await })+ .expect("scenario");}async fn scenario() {