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(agent): assert on full error chain for disabled component
Steven Enamakel5126e6a213d0
diff --git a/crates/openhuman-core/src/agent/prompts/flow_archetype_tests.rs b/crates/openhuman-core/src/agent/prompts/flow_archetype_tests.rsindex 50ad00ab2e..4ca087373d 100644--- a/crates/openhuman-core/src/agent/prompts/flow_archetype_tests.rs+++ b/crates/openhuman-core/src/agent/prompts/flow_archetype_tests.rs@@ -52,7 +52,7 @@ async fn flow_prompt_requires_the_scoped_config_and_respects_component_disable()let error = load_for_definition(Some(&config), definition).await.expect_err("disabled module must fail closed");- assert!(error.to_string().contains("COMPONENT_DISABLED:tinyflows"));+ assert!(format!("{error:#}").contains("COMPONENT_DISABLED:tinyflows"));}#[tokio::test]