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(ops_tests_model_resolution): add failure context to assertion in spawn-depth test
Steven Enamakel45028aae8d2d
diff --git a/crates/openhuman-core/.openhuman/subagent_checkpoints/lifecycle/sha256-564ec3c596c5d6a961aa2608d27d122e078f5b4de092136b48db1ef1974f1844.lock b/crates/openhuman-core/.openhuman/subagent_checkpoints/lifecycle/sha256-564ec3c596c5d6a961aa2608d27d122e078f5b4de092136b48db1ef1974f1844.locknew file mode 100644index 0000000000..e69de29bb2diff --git a/crates/openhuman-core/src/agent/subagent_host/ops_tests_model_resolution_tests.rs b/crates/openhuman-core/src/agent/subagent_host/ops_tests_model_resolution_tests.rsindex 47ae18b627..1715edf189 100644--- a/crates/openhuman-core/src/agent/subagent_host/ops_tests_model_resolution_tests.rs+++ b/crates/openhuman-core/src/agent/subagent_host/ops_tests_model_resolution_tests.rs@@ -16,13 +16,16 @@ async fn runner_rejects_spawn_beyond_max_depth() {}).await;- assert!(matches!(- result,- Err(SubagentRunError::SpawnDepthExceeded {- attempted_depth,- max_depth- }) if attempted_depth == MAX_SPAWN_DEPTH + 1 && max_depth == MAX_SPAWN_DEPTH- ));+ assert!(+ matches!(+ result,+ Err(SubagentRunError::SpawnDepthExceeded {+ attempted_depth,+ max_depth+ }) if attempted_depth == MAX_SPAWN_DEPTH + 1 && max_depth == MAX_SPAWN_DEPTH+ ),+ "got: {result:?}"+ );assert!(provider.captured.lock().is_empty(),"depth rejection must happen before provider dispatch"