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/prompts/render_helpers/section_renderers.rs,cra

Steven Enamakel81e1b210fa07
diff --git a/crates/openhuman-core/src/agent/prompts/render_helpers/section_renderers.rs b/crates/openhuman-core/src/agent/prompts/render_helpers/section_renderers.rs
index 292bf92f74..54bcfdb1af 100644
--- a/crates/openhuman-core/src/agent/prompts/render_helpers/section_renderers.rs
+++ b/crates/openhuman-core/src/agent/prompts/render_helpers/section_renderers.rs
@@ -235,7 +235,3 @@ fn empty_prompt_context_for_static_sections() -> PromptContext<'static> {
agents_md_local: None,
}
}
-
-/// Build a P-Format signature line (`name[a|b|c]`) from a `&dyn Tool`.
-/// Used by `render_subagent_system_prompt` which operates on `Box<dyn Tool>`
-/// directly (no intermediate `PromptTool`). Mirrors the `PromptTool` variant
diff --git a/crates/openhuman-core/src/agent/prompts/render_helpers/workspace_files.rs b/crates/openhuman-core/src/agent/prompts/render_helpers/workspace_files.rs
index fd5e223f1a..e4f381bf1c 100644
--- a/crates/openhuman-core/src/agent/prompts/render_helpers/workspace_files.rs
+++ b/crates/openhuman-core/src/agent/prompts/render_helpers/workspace_files.rs
@@ -281,15 +281,15 @@ pub fn default_workspace_file_content(filename: &str) -> &'static str {
// This module is under `crates/openhuman-core/src/agent/context/`, so the relative path
// walks up one level and back into `agent/prompts/`.
match filename {
- "SOUL.md" => include_str!("SOUL.md"),
- "IDENTITY.md" => include_str!("IDENTITY.md"),
+ "SOUL.md" => include_str!("../SOUL.md"),
+ "IDENTITY.md" => include_str!("../IDENTITY.md"),
// The user-facing agent's role brief and writing style, moved out of
// the compiled `orchestrator/prompt.md` so both are tunable on disk
// without a rebuild (#5701). Same sync-and-inject contract as
// SOUL.md / IDENTITY.md: the bundled copy seeds the workspace, and a
// user edit wins from the next session on.
- "ROLE.md" => include_str!("ROLE.md"),
- "STYLE.md" => include_str!("STYLE.md"),
+ "ROLE.md" => include_str!("../ROLE.md"),
+ "STYLE.md" => include_str!("../STYLE.md"),
_ => "",
}