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
test(web_chat): simplify goal resume assertion
Steven Enamakelf59315a60309
diff --git a/crates/openhuman-core/src/web_chat/event_bus_tests.rs b/crates/openhuman-core/src/web_chat/event_bus_tests.rsindex 0e7c6d778a..4af558ddb5 100644--- a/crates/openhuman-core/src/web_chat/event_bus_tests.rs+++ b/crates/openhuman-core/src/web_chat/event_bus_tests.rs@@ -327,11 +327,10 @@ async fn goal_resume_and_account_updates_reach_the_web_channel() {store.pause(thread_id).await.expect("pause goal");let _ = find_agent_web_event(&mut web_rx, "thread_goal_updated", thread_id).await;- // Preparing a turn leaves a paused goal paused (the model decides via- // `goal_resume`), so the resume lifecycle path is driven explicitly.+ // Preparing a turn keeps a paused goal paused; resume explicitly.let prepared = store.prepare_turn(thread_id).await.expect("prepare turn");assert_eq!(- prepared.goal.as_ref().map(|goal| goal.status),+ prepared.goal.map(|goal| goal.status),Some(tinyagents_harness_tools::goals::ThreadGoalStatus::Paused));store.resume(thread_id).await.expect("resume goal");