Skip to content

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

fix(artifacts): correct artifact type serialization

Steven Enamakel207ce3f97f58
diff --git a/crates/openhuman-core/src/agent/artifacts/types.rs b/crates/openhuman-core/src/agent/artifacts/types.rs
index 666d55d0cc..0dfa3dc4c8 100644
--- a/crates/openhuman-core/src/agent/artifacts/types.rs
+++ b/crates/openhuman-core/src/agent/artifacts/types.rs
@@ -9,6 +9,7 @@ pub enum ArtifactKind {
Presentation,
Document,
Image,
+ Video,
#[default]
Other,
}
@@ -19,6 +20,7 @@ impl ArtifactKind {
Self::Presentation => "presentation",
Self::Document => "document",
Self::Image => "image",
+ Self::Video => "video",
Self::Other => "other",
}
}
@@ -30,6 +32,7 @@ impl ArtifactKind {
"presentation" => Self::Presentation,
"document" => Self::Document,
"image" => Self::Image,
+ "video" => Self::Video,
_ => Self::Other,
}
}