Skip to content

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

test(file_storage): name the stored file tuple in artifact publisher tests

Steven Enamakel9176c2e18f46
diff --git a/crates/openhuman-tinyhumans/src/integrations/file_storage/artifact_publisher_tests.rs b/crates/openhuman-tinyhumans/src/integrations/file_storage/artifact_publisher_tests.rs
index 42d551c44d..f5d9480697 100644
--- a/crates/openhuman-tinyhumans/src/integrations/file_storage/artifact_publisher_tests.rs
+++ b/crates/openhuman-tinyhumans/src/integrations/file_storage/artifact_publisher_tests.rs
@@ -17,7 +17,9 @@ use openhuman_embed::__host::artifact_publisher::versioned_store;
use openhuman_embed::__host::security::AutonomyLevel;
#[derive(Default)]
-struct MemoryFileStore(Mutex<HashMap<String, (Vec<u8>, Option<String>)>>);
+struct MemoryFileStore(Mutex<HashMap<String, StoredFile>>);
+
+type StoredFile = (Vec<u8>, Option<String>);
impl MemoryFileStore {
fn add(&self, key: &str, bytes: &[u8], media_type: Option<&str>) {