Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

test(threads): clone attachments in edit rpc test

Steven Enamakel106c7f9b27e7
diff --git a/crates/openhuman-core/src/threads/ops/edit_attachment_tests.rs b/crates/openhuman-core/src/threads/ops/edit_attachment_tests.rs
index 4e9502e673..fbf1968501 100644
--- a/crates/openhuman-core/src/threads/ops/edit_attachment_tests.rs
+++ b/crates/openhuman-core/src/threads/ops/edit_attachment_tests.rs
@@ -274,7 +274,7 @@ async fn edit_rpc_rejects_an_attachment_ref_owned_by_another_row_before_truncati
thread_id: "edit-image-scope".into(),
message_id: source.id.clone(),
content: "replacement text".into(),
- attachments: other.attachments,
+ attachments: other.attachments.clone(),
client_id: Some("test-client".into()),
},
)