Skip to content

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

test(e2e): update artifact retrieval in media generation tests

Steven Enamakel844576caefef
diff --git a/tests/media_generation_e2e.rs b/tests/media_generation_e2e.rs
index 27579b37e2..da5f3d4c97 100644
--- a/tests/media_generation_e2e.rs
+++ b/tests/media_generation_e2e.rs
@@ -267,7 +267,11 @@ async fn media_tools_deliver_images_and_videos_through_the_backend_proxy() {
"blob-backed generation must not leave a filesystem staging directory"
);
for (id, kind) in [(&image_id, "image"), (&video_id, "video")] {
- let record = openhuman_core::artifacts::ops::ai_get_artifact(&config, id)
+ let record = openhuman_core::artifacts::ops::ai_get_artifact(
+ &openhuman_core::core::runtime::DispatchCtx::ambient(),
+ &config,
+ id,
+ )
.await
.expect("filed artifact record")
.value;