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): use input file name if available for attachment
Steven Enamakelb58084569f8c
diff --git a/crates/openhuman-core/src/threads/attachments.rs b/crates/openhuman-core/src/threads/attachments.rsindex 68cdc84858..109445c78b 100644--- a/crates/openhuman-core/src/threads/attachments.rs+++ b/crates/openhuman-core/src/threads/attachments.rs@@ -182,7 +182,7 @@ fn stored_media(input: &MediaReference, file: &Attachment) -> MediaReference {media.url = None;media.local_cache_path = None;media.content_type = Some(file.mime.clone());- media.file_name = Some(file.name.clone());+ media.file_name = input.file_name.clone().or_else(|| Some(file.name.clone()));media.size_bytes = Some(file.size_bytes as u64);media}