Skip to content

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

fix(media): handle missing tool output gracefully

Steven Enamakel16a5cae44c3d
diff --git a/crates/openhuman-core/src/media/generation/tools.rs b/crates/openhuman-core/src/media/generation/tools.rs
index 33eaa6da5e..f4f6908166 100644
--- a/crates/openhuman-core/src/media/generation/tools.rs
+++ b/crates/openhuman-core/src/media/generation/tools.rs
@@ -17,7 +17,9 @@ use tinyagents_harness::tinyinference_image::ImageGenerator;
use tinyagents_harness::tinyinference_video::{VideoGenerator, WaitPolicy};
use tinytools::{PermissionLevel, Tool, ToolCategory, ToolResult};
+use super::artifact_tool::MediaArtifactTool;
use super::provider::{managed_generators, MediaGenerators};
+use crate::agent::artifacts::ArtifactKind;
use crate::config::Config;
/// Image tool name (pinned by the `media` pack and agent allowlists).