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): clone row_id when appending conversation message
Steven Enamakelefb17bfbe755
diff --git a/crates/openhuman-core/src/threads/ops/crud.rs b/crates/openhuman-core/src/threads/ops/crud.rsindex a6a0f5a6c3..e158261246 100644--- a/crates/openhuman-core/src/threads/ops/crud.rs+++ b/crates/openhuman-core/src/threads/ops/crud.rs@@ -256,7 +256,7 @@ async fn persist_queued_user_message_with_config(let request = AppendConversationMessageRequest {thread_id: thread_id.to_string(),message: ConversationMessageRecord {- id: row_id,+ id: row_id.clone(),content: text.to_string(),attachments: Vec::new(),message_type: "text".into(),diff --git a/crates/openhuman-core/src/threads/ops/crud_message_append_tests.rs b/crates/openhuman-core/src/threads/ops/crud_message_append_tests.rsindex 105d551ff5..d484dcfa08 100644--- a/crates/openhuman-core/src/threads/ops/crud_message_append_tests.rs+++ b/crates/openhuman-core/src/threads/ops/crud_message_append_tests.rs@@ -1,4 +1,5 @@use super::*;+use base64::Engine as _;use serde_json::json;async fn setup() -> (tempfile::TempDir, crate::config::Config) {