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(attachments): adjust message retrieval signature
Steven Enamakel775e70845dba
diff --git a/crates/openhuman-core/src/threads/attachments.rs b/crates/openhuman-core/src/threads/attachments.rsindex 64a8aa90f2..43d93027b6 100644--- a/crates/openhuman-core/src/threads/attachments.rs+++ b/crates/openhuman-core/src/threads/attachments.rs@@ -246,7 +246,11 @@ pub(crate) async fn resolve_persisted_parts().await.map_err(|error| format!("stored attachment workspace unavailable: {error}"))?;- let messages = crate::threads::store::get_messages(ctx, config.workspace_dir, thread_id)?;+ let messages = crate::threads::store::get_messages(+ ctx,+ config.workspace_dir.clone(),+ thread_id,+ )?;let row = messages.iter().find(|message| message.id == persisted_message_id && message.sender == "user")