Skip to content

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

chore: files changed src/openhuman/agent/harness/session/builder/factory.rs

Steven Enamakeldcad85e79232
diff --git a/src/openhuman/agent/harness/session/builder/factory.rs b/src/openhuman/agent/harness/session/builder/factory.rs
index 8f15d28cfb..b8307747d1 100644
--- a/src/openhuman/agent/harness/session/builder/factory.rs
+++ b/src/openhuman/agent/harness/session/builder/factory.rs
@@ -1288,12 +1288,21 @@ impl Agent {
)
}))
.profile_memory_storage(memory_subdir, session_raw_subdir)
- .workflows(
- crate::openhuman::skills::load_workflow_metadata_for_profile(
+ .workflows({
+ let mut catalogue = crate::openhuman::skills::load_workflow_metadata_for_profile(
&config.workspace_dir,
profile_skills_root.as_deref(),
- ),
- )
+ );
+ // Saved Flows automations join the same catalogue. The prompt
+ // section that renders this used to carry a paragraph
+ // explaining that it deliberately omitted them and that the
+ // obvious tool "will error" on one; closing the gap is cheaper
+ // than describing it, and a user asking "what can this already
+ // do for me" never drew the distinction anyway.
+ #[cfg(feature = "flows")]
+ catalogue.extend(crate::openhuman::flows::catalogue::flow_entries(config));
+ catalogue
+ })
.auto_save(config.memory.auto_save)
.post_turn_hooks(post_turn_hooks)
.learning_enabled(config.learning.enabled)