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(task_sources): simplify document query result handling
Steven Enamakel512275f47d56
diff --git a/crates/openhuman-core/src/integrations/task_sources/store_documents.rs b/crates/openhuman-core/src/integrations/task_sources/store_documents.rsindex 0b306c39f4..ab2f476856 100644--- a/crates/openhuman-core/src/integrations/task_sources/store_documents.rs+++ b/crates/openhuman-core/src/integrations/task_sources/store_documents.rs@@ -316,8 +316,7 @@ impl Docs {.limit(limit.max(1));self.0.run(|docs| async move {let page = docs.query(INGESTED, &query).await?;- Ok(page- .items+ page.items.iter().map(|stored| {let raw = text(&stored.doc, "payload").ok_or_else(|| {@@ -333,7 +332,7 @@ impl Docs {))})})- .collect::<Result<Vec<NormalizedTask>, StorageError>>()?)+ .collect::<Result<Vec<NormalizedTask>, StorageError>>()})}