Skip to content

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

refactor(attachments): expose fields on StagedAttachmentClaim

Steven Enamakel4444ba46778f
diff --git a/crates/openhuman-core/src/threads/attachments/staged.rs b/crates/openhuman-core/src/threads/attachments/staged.rs
index fa30d741c2..02c03307b0 100644
--- a/crates/openhuman-core/src/threads/attachments/staged.rs
+++ b/crates/openhuman-core/src/threads/attachments/staged.rs
@@ -18,10 +18,10 @@ pub(super) struct StagedAttachment {
pub(super) struct StagedAttachmentClaim {
pub(super) tenant: crate::core::runtime::Tenant,
pub(super) thread_id: String,
- message_id: String,
- part: ContentPart,
+ pub(super) message_id: String,
+ pub(super) part: ContentPart,
#[serde(default)]
- canceled: bool,
+ pub(super) canceled: bool,
}
pub(super) const STAGED_DOMAIN: &str = "threads::attachments";