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
fix(core): await discard staged parts if edit fails
Steven Enamakel4c6a4972ead2
diff --git a/crates/openhuman-core/src/threads/ops/edit.rs b/crates/openhuman-core/src/threads/ops/edit.rsindex 9fb5a8c6a4..9c1af38b37 100644--- a/crates/openhuman-core/src/threads/ops/edit.rs+++ b/crates/openhuman-core/src/threads/ops/edit.rs@@ -215,8 +215,7 @@ 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?;