Skip to content

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

feat(runtime): add placeholder for legacy delivery import

Steven Enamakel94393156dcd3
diff --git a/crates/openhuman-core/src/channels/runtime/startup.rs b/crates/openhuman-core/src/channels/runtime/startup.rs
index 2ddb66581a..a60c6858fa 100644
--- a/crates/openhuman-core/src/channels/runtime/startup.rs
+++ b/crates/openhuman-core/src/channels/runtime/startup.rs
@@ -3,7 +3,21 @@
mod callback;
mod chat_workload;
mod credentials;
+#[cfg(feature = "legacy-import")]
mod delivery_import;
+#[cfg(not(feature = "legacy-import"))]
+mod delivery_import {
+ use std::path::Path;
+
+ pub(super) async fn import_legacy_delivery(
+ _ctx: &crate::core::runtime::DispatchCtx,
+ _workspace: &Path,
+ ) -> anyhow::Result<()> {
+ anyhow::bail!(
+ "legacy delivery import is unavailable without `legacy-import`; legacy data was not inspected or migrated"
+ )
+ }
+}
mod module_providers;
mod prompt;
#[cfg(test)]