The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
refactor(prompts): remove duplicate flow_archetype module and fix imports
Steven Enamakele5db0138fdf3
diff --git a/crates/openhuman-core/src/agent/prompts/mod.rs b/crates/openhuman-core/src/agent/prompts/mod.rsindex c230565b7d..72c6077973 100644--- a/crates/openhuman-core/src/agent/prompts/mod.rs+++ b/crates/openhuman-core/src/agent/prompts/mod.rs@@ -7,8 +7,6 @@ pub use types::*;mod connected_identities;#[cfg(feature = "flows")]pub(crate) mod flow_archetype;-#[cfg(feature = "flows")]-pub(crate) mod flow_archetype;pub use connected_identities::render_connected_identities;pub mod agents_md;diff --git a/crates/openhuman-core/src/agent/prompts/render_helpers/subagent.rs b/crates/openhuman-core/src/agent/prompts/render_helpers/subagent.rsindex 9bc6822505..dd4a731b69 100644--- a/crates/openhuman-core/src/agent/prompts/render_helpers/subagent.rs+++ b/crates/openhuman-core/src/agent/prompts/render_helpers/subagent.rs@@ -103,7 +103,6 @@ pub fn render_subagent_system_prompt_with_format(_connected_integrations: &[ConnectedIntegration],agents_md_global: Option<&str>,agents_md_local: Option<&str>,- flow_archetype_text: None,) -> String {let mut out = String::new();diff --git a/crates/openhuman-core/src/agent/subagent_host/ops/runner_prompt.rs b/crates/openhuman-core/src/agent/subagent_host/ops/runner_prompt.rsindex ed78185466..8a108a73fb 100644--- a/crates/openhuman-core/src/agent/subagent_host/ops/runner_prompt.rs+++ b/crates/openhuman-core/src/agent/subagent_host/ops/runner_prompt.rs@@ -1,6 +1,7 @@//! Scoped async preparation for typed sub-agent prompt rendering.-use super::{load_prompt_source, AgentDefinition, PromptContext, SubagentRunError};+use super::{AgentDefinition, PromptContext, SubagentRunError};+use crate::agent::subagent_host::tool_prep::load_prompt_source;/// One spawn's snapshot of the host config, loaded once by [`super::run_subagent`].///