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/agent/session_host/builder/factory_workflows.rs,crate

Steven Enamakel8a19f296859c
diff --git a/crates/openhuman-core/src/agent/session_host/builder/factory_workflows.rs b/crates/openhuman-core/src/agent/session_host/builder/factory_workflows.rs
index a15054c189..d600d3fec0 100644
--- a/crates/openhuman-core/src/agent/session_host/builder/factory_workflows.rs
+++ b/crates/openhuman-core/src/agent/session_host/builder/factory_workflows.rs
@@ -11,6 +11,8 @@ pub(super) fn session_workflows(
if host_only {
return Vec::new();
}
+ #[cfg(all(feature = "flows", feature = "skills"))]
+ crate::skills::bundled::flow_authoring::schedule_prewarm(ctx, config, None);
let catalogue = crate::skills::load_workflow_metadata_for(ctx, config);
#[cfg(feature = "flows")]
let catalogue = {
diff --git a/crates/openhuman-core/src/skills/ops_discover/api.rs b/crates/openhuman-core/src/skills/ops_discover/api.rs
index 1438925966..9ab0a602d8 100644
--- a/crates/openhuman-core/src/skills/ops_discover/api.rs
+++ b/crates/openhuman-core/src/skills/ops_discover/api.rs
@@ -219,12 +219,6 @@ pub(crate) fn load_workflow_metadata_for_domains(
None => discovery_home_dir(),
};
let gate = DiscoveryGate::from_config(ctx, config, domains);
- #[cfg(feature = "flows")]
- if gate.flow_authoring_enabled()
- && flow_generation_for(&config.workspace_dir, &gate).is_none()
- {
- crate::skills::bundled::flow_authoring::schedule_prewarm(ctx, config, domains);
- }
load_workflow_metadata_with_gate(
&config.workspace_dir,
home,