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(profiles): use Key for lease record storage
Steven Enamakel5d9dd080dac0
diff --git a/crates/openhuman-core/src/profiles/storage_schema.rs b/crates/openhuman-core/src/profiles/storage_schema.rsindex 83028a895c..f481a82fe7 100644--- a/crates/openhuman-core/src/profiles/storage_schema.rs+++ b/crates/openhuman-core/src/profiles/storage_schema.rs@@ -14,7 +14,7 @@use anyhow::Result;use serde_json::Value;-use tinystoragedrivers::{CollectionSpec, Storage};+use tinystoragedrivers::{CollectionSpec, Key, Storage};use crate::storage::schema_support::{key_of, map_legacy_collection, Body, LegacySourceRecord as SourceRecord,@@ -115,7 +115,9 @@ pub(crate) fn upgrade_lease_records(}Ok(TargetRecord::new("openhuman.leases",- key_of(&record.id)?,+ Key::of(["profiles", record.id.as_str()])?+ .as_str()+ .to_owned(),Value::Object(body),))})