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): correct validation for message edits
Steven Enamakelfb70802e6ef5
diff --git a/crates/openhuman-core/src/threads/ops/edit.rs b/crates/openhuman-core/src/threads/ops/edit.rsindex 6732df2d3b..45673457b1 100644--- a/crates/openhuman-core/src/threads/ops/edit.rs+++ b/crates/openhuman-core/src/threads/ops/edit.rs@@ -101,9 +101,9 @@ pub async fn edit_message(}// Stage and validate uploads before cancellation or truncation. The staged// opaque refs are reused when the replacement row is persisted below.- if !request.attachments.is_empty() && request.content.trim().is_empty() {+ if request.attachments.is_empty() && request.content.trim().is_empty() {return Err(ThreadsError::Message(- "edited attachment messages require text".into(),+ "edited message requires text or attachments".into(),));}let dir = ctx