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): handle missing builder tool persistence gracefully
Steven Enamakeld55e6c1b0ebe
diff --git a/crates/openhuman-core/src/flows/builder_tools/persistence.rs b/crates/openhuman-core/src/flows/builder_tools/persistence.rsindex 01ed3e1134..d943e21af0 100644--- a/crates/openhuman-core/src/flows/builder_tools/persistence.rs+++ b/crates/openhuman-core/src/flows/builder_tools/persistence.rs@@ -463,7 +463,7 @@ impl Tool for SaveWorkflowTool {let trigger_desc = flow.graph.trigger()- .map(tools::describe_trigger)+ .map(tinyflows::summary::describe_trigger).unwrap_or_else(|| "automatic".to_string());let warning = format!("WARNING: this flow is ENABLED with an automatic trigger \diff --git a/crates/openhuman-core/src/flows/ops/builder_gates.rs b/crates/openhuman-core/src/flows/ops/builder_gates.rsindex f39dc75a40..f036e00501 100644--- a/crates/openhuman-core/src/flows/ops/builder_gates.rs+++ b/crates/openhuman-core/src/flows/ops/builder_gates.rs@@ -227,7 +227,7 @@ pub(crate) async fn build_builder_proposal());}- let summary = crate::flows::tools::build_summary(graph);+ let summary = tinyflows::summary::summarize(graph);let mut warnings = graph_trigger_warnings(graph);warnings.extend(graph_wiring_warnings(config, graph).await);// Connector onboarding (Phase 5, item 18): tell the proposal card whichdiff --git a/crates/openhuman-core/src/flows/tools.rs b/crates/openhuman-core/src/flows/tools.rsindex 59a494069b..daa0b5a6e1 100644--- a/crates/openhuman-core/src/flows/tools.rs+++ b/crates/openhuman-core/src/flows/tools.rs@@ -26,11 +26,6 @@ use crate::config::Config;use crate::flows::ops::{build_builder_proposal, validate_and_migrate_graph};use tinytools::{PermissionLevel, Tool, ToolResult};-/// Max characters kept for a `config_hint` before truncation, so a long-/// prompt/expression doesn't blow up the proposal summary sent to the LLM-/// and rendered in the chat card.-const MAX_CONFIG_HINT_CHARS: usize = 80;-pub struct ProposeWorkflowTool {config: Arc<Config>,}