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(threads): add default struct update to message patch literals
Steven Enamakel989c623cb3e2
diff --git a/crates/openhuman-core/src/threads/ops/crud.rs b/crates/openhuman-core/src/threads/ops/crud.rsindex 670414611f..817767f757 100644--- a/crates/openhuman-core/src/threads/ops/crud.rs+++ b/crates/openhuman-core/src/threads/ops/crud.rs@@ -417,6 +417,7 @@ pub async fn message_update(request.message_id.clone(),ConversationMessagePatch {extra_metadata: request.extra_metadata,+ ..Default::default()},).await?;diff --git a/crates/openhuman-core/src/threads/store/blocking_tests.rs b/crates/openhuman-core/src/threads/store/blocking_tests.rsindex 863c842f3d..45e3cd5ff9 100644--- a/crates/openhuman-core/src/threads/store/blocking_tests.rs+++ b/crates/openhuman-core/src/threads/store/blocking_tests.rs@@ -345,6 +345,7 @@ async fn update_message_patches_metadata_and_search_finds_content() {"m1".to_string(),ConversationMessagePatch {extra_metadata: Some(json!({"pinned": true})),+ ..Default::default()},).awaitdiff --git a/crates/openhuman-core/src/web_chat/ops/start_chat.rs b/crates/openhuman-core/src/web_chat/ops/start_chat.rsindex 15a4e58fa1..3d67c7ae34 100644--- a/crates/openhuman-core/src/web_chat/ops/start_chat.rs+++ b/crates/openhuman-core/src/web_chat/ops/start_chat.rs@@ -438,6 +438,7 @@ async fn bind_voice_note_request_id(row.id.clone(),ConversationMessagePatch {extra_metadata: Some(extra_metadata),+ ..Default::default()},).await