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
chore(agent): tidy prompt builder comments and imports
Steven Enamakel7e46e35fa053
diff --git a/crates/openhuman-core/src/agent/session_host/builder/factory.rs b/crates/openhuman-core/src/agent/session_host/builder/factory.rsindex f4a449b8b2..1b3f224e13 100644--- a/crates/openhuman-core/src/agent/session_host/builder/factory.rs+++ b/crates/openhuman-core/src/agent/session_host/builder/factory.rs@@ -327,8 +327,7 @@ impl OpenHumanSessionHost {// unavailable (pre-startup, tests). `PromptSource::Dynamic`// agents install a [`DynamicPromptSection`] that re-runs the// builder against the live [`PromptContext`] at `build_system_prompt`- // time, so late `connected_integrations` land in the prompt. The flow- // builders receive their module-owned archetype through the context.+ // time, so late integrations and the flow archetype land in the prompt.// `Inline`/`File` sources still resolve to just the archetype// body and get wrapped by [`SystemPromptBuilder::for_subagent`].let prompt_builder = match target_def {diff --git a/crates/openhuman-core/src/agent/subagent_host/ops/runner.rs b/crates/openhuman-core/src/agent/subagent_host/ops/runner.rsindex 21ac7622d1..9b5741d374 100644--- a/crates/openhuman-core/src/agent/subagent_host/ops/runner.rs+++ b/crates/openhuman-core/src/agent/subagent_host/ops/runner.rs@@ -17,7 +17,7 @@ use crate::agent::prompts::{};use crate::agent::subagent_host::definition_iter_cap;use crate::agent::subagent_host::tool_prep::{- filter_tool_indices, is_subagent_spawn_tool, load_prompt_source, subagent_prompt_protocol,+ filter_tool_indices, is_subagent_spawn_tool, subagent_prompt_protocol,};use crate::agent::subagent_host::types::{SubagentMode, SubagentRunError, SubagentRunOptions, SubagentRunOutcome,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 3129ef72cd..644231ec49 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@@ -2,7 +2,7 @@use super::{AgentDefinition, PromptContext, SubagentRunError, load_prompt_source};-/// One spawn's snapshot of the host config, loaded once by [`run_subagent`].+/// One spawn's snapshot of the host config, loaded once by [`super::run_subagent`].////// Threading it in as a parameter keeps all prompt, model and context decisions/// on the same profile snapshot without giving the generic runtime file access.