Skip to content

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

chore: files changed crates/openhuman-core/src/skills/mod.rs

Steven Enamakele4fcd07c456c
diff --git a/crates/openhuman-core/src/skills/mod.rs b/crates/openhuman-core/src/skills/mod.rs
index cdcd1f5ad0..924b827981 100644
--- a/crates/openhuman-core/src/skills/mod.rs
+++ b/crates/openhuman-core/src/skills/mod.rs
@@ -34,6 +34,25 @@ pub mod catalog;
pub fn skills_component_enabled() -> bool {
crate::core::runtime::CoreContext::current().is_none_or(|ctx| ctx.components().skills)
}
+
+/// Schedule optional TinyFlows skill-resource discovery without blocking the
+/// host that owns the selected configuration and dispatch identity.
+#[cfg(all(feature = "skills", feature = "flows"))]
+pub(crate) fn schedule_flow_authoring_prewarm(
+ ctx: &crate::core::runtime::DispatchCtx,
+ config: &crate::config::Config,
+ domains: Option<crate::core::runtime::DomainSet>,
+) {
+ bundled::flow_authoring::schedule_prewarm(ctx, config, domains);
+}
+
+#[cfg(not(all(feature = "skills", feature = "flows")))]
+pub(crate) fn schedule_flow_authoring_prewarm(
+ _ctx: &crate::core::runtime::DispatchCtx,
+ _config: &crate::config::Config,
+ _domains: Option<crate::core::runtime::DomainSet>,
+) {
+}
pub mod runtime;
pub mod webhooks;