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(core): adjust staged ref saving logic
Steven Enamakel7e1954517280
diff --git a/crates/openhuman-core/src/threads/attachments.rs b/crates/openhuman-core/src/threads/attachments.rsindex afeb4de9c4..00fcbca38f 100644--- a/crates/openhuman-core/src/threads/attachments.rs+++ b/crates/openhuman-core/src/threads/attachments.rs@@ -253,7 +253,13 @@ pub(crate) async fn bind_staged_refs() -> Result<Vec<ContentPart>, String> {let entries = read_staged_entries(ctx, thread_id, requested, config).await?;validate_staged_files(ctx, thread_id, config, &entries).await?;- Ok(save(metadata, entries))+ Ok(save(+ metadata,+ entries+ .into_iter()+ .map(|entry| (entry.part, entry.path))+ .collect(),+ ))}/// Stage media supplied with a queued follow-up, returning only opaque refs.