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(artifacts): simplify artifact retrieval in tiny_store
Steven Enamakelfc951f57b12a
diff --git a/crates/openhuman-core/src/artifacts/tiny_store.rs b/crates/openhuman-core/src/artifacts/tiny_store.rsindex 119d324cc2..ec77d7b22d 100644--- a/crates/openhuman-core/src/artifacts/tiny_store.rs+++ b/crates/openhuman-core/src/artifacts/tiny_store.rs@@ -145,11 +145,10 @@ impl ArtifactStore for LegacyFileImportStore {}async fn get(&self, id: &str) -> anyhow::Result<Option<ArtifactRecord>> {- self.records- .get(id)- .await?- .map(|record| self.import_record(record))- .transpose()+ match self.records.get(id).await? {+ Some(record) => self.import_record(record).await.map(Some),+ None => Ok(None),+ }}async fn upsert(&self, record: &ArtifactRecord) -> anyhow::Result<()> {