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(tree): handle empty tree in runtime operations
Steven Enamakeld403bf02befb
diff --git a/src/openhuman/memory/tree/tree_runtime/ops.rs b/src/openhuman/memory/tree/tree_runtime/ops.rsindex a174d15fed..87b0272d89 100644--- a/src/openhuman/memory/tree/tree_runtime/ops.rs+++ b/src/openhuman/memory/tree/tree_runtime/ops.rs@@ -46,9 +46,10 @@ pub async fn tree_summarizer_run(store::validate_namespace(namespace)?;let (provider, _model) = create_provider(config)?;+ let provider = crate::openhuman::memory::model_bridge::LegacyChatModelBridge::new(provider);let ts = Utc::now();- match engine::run_summarization(config, provider.as_ref(), namespace.trim(), ts).await {+ match engine::run_summarization(config, &provider, namespace.trim(), ts).await {Ok(Some(node)) => Ok(RpcOutcome::single_log(serde_json::to_value(&node).map_err(|e| e.to_string())?,format!(