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(flows): surface validation error message when no graph is returned
Steven Enamakel5d2abb9b972a
diff --git a/crates/openhuman-core/src/flows/ops/validation.rs b/crates/openhuman-core/src/flows/ops/validation.rsindex 3bd1873ffe..51f7c642a1 100644--- a/crates/openhuman-core/src/flows/ops/validation.rs+++ b/crates/openhuman-core/src/flows/ops/validation.rs@@ -33,10 +33,14 @@ pub(super) async fn migrate_over_bus(config: &Config,graph: Value,) -> Result<Value, String> {- validate_over_bus(ctx, config, graph)- .await?- .graph- .ok_or_else(|| "TinyFlows validation returned no graph".to_string())+ let report = validate_over_bus(ctx, config, graph).await?;+ report.graph.ok_or_else(|| {+ report+ .errors+ .first()+ .map(|error| error.message.clone())+ .unwrap_or_else(|| "TinyFlows validation returned no graph".to_string())+ })}fn is_engine_compatibility_error(code: &str) -> bool {