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
refactor(embed): extract installed storage type alias
Steven Enamakel8aec3716b175
diff --git a/crates/openhuman-embed/src/runtime/build.rs b/crates/openhuman-embed/src/runtime/build.rsindex cb136a5ce7..a8813189d9 100644--- a/crates/openhuman-embed/src/runtime/build.rs+++ b/crates/openhuman-embed/src/runtime/build.rs@@ -344,7 +344,7 @@ impl RuntimeBuilder {storage_backend.or_else(openhuman_core::storage::installed)};if !storage_info.configured {- if let Some(backend) = &storage_backend {+ if storage_backend.is_some() {let installed_url = openhuman_core::storage::installed_url();storage_info = super::StorageInfo::backend(installed_url.as_deref());}diff --git a/crates/openhuman-embed/src/runtime/run.rs b/crates/openhuman-embed/src/runtime/run.rsindex 4766e7f903..f43953e98e 100644--- a/crates/openhuman-embed/src/runtime/run.rs+++ b/crates/openhuman-embed/src/runtime/run.rs@@ -136,18 +136,17 @@ impl RuntimeBuilder {}}+type InstalledStorage = Option<(+ Arc<dyn openhuman_core::storage::StorageBackend>,+ Option<String>,+)>;+impl CliGlobals {/// Install every global; returns the storage backend, when one was/// configured, now opened.fn install(mut self,- ) -> Result<- Option<(- Arc<dyn openhuman_core::storage::StorageBackend>,- Option<String>,- )>,- String,- > {+ ) -> Result<InstalledStorage, String> {if let Some(engine) = self.memory_engine {openhuman_core::memory::engine::install_host_engine(engine);}