Skip to content

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

feat(agent): add workspace file sync support to prompt builder

Steven Enamakel68a83fb9899a
diff --git a/src/openhuman/agent/prompts/builder.rs b/src/openhuman/agent/prompts/builder.rs
index 2bf31c0a3d..09c7d4fa9e 100644
--- a/src/openhuman/agent/prompts/builder.rs
+++ b/src/openhuman/agent/prompts/builder.rs
@@ -1,9 +1,11 @@
//! [`SystemPromptBuilder`] — assembles ordered [`PromptSection`]s into a
//! final system-prompt string.
+use super::render_helpers::sync_workspace_file;
use super::sections::*;
use super::types::*;
use anyhow::Result;
+use std::path::Path;
/// Global style rules appended to every assembled system prompt, regardless
/// of which sections the agent opts in/out of. Kept tiny and byte-stable so