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
style(threads): wrap long discard_staged_parts call
Steven Enamakel323fdebf5784
diff --git a/crates/openhuman-core/src/threads/ops/edit.rs b/crates/openhuman-core/src/threads/ops/edit.rsindex 9c1af38b37..86fe77ff61 100644--- a/crates/openhuman-core/src/threads/ops/edit.rs+++ b/crates/openhuman-core/src/threads/ops/edit.rs@@ -215,7 +215,8 @@ pub async fn edit_message(}.await;if edit_result.is_err() && !staged_parts.is_empty() {- let _ = crate::threads::attachments::discard_staged_parts(ctx, &thread_id, &staged_parts).await;+ let _ =+ crate::threads::attachments::discard_staged_parts(ctx, &thread_id, &staged_parts).await;}let new_request_id = edit_result?;