Skip to content

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

refactor(flows): drop documents lookup from flows dir

Steven Enamakelc6be0414170f
diff --git a/crates/openhuman-core/src/flows/store.rs b/crates/openhuman-core/src/flows/store.rs
index 7b107822df..e985f77709 100644
--- a/crates/openhuman-core/src/flows/store.rs
+++ b/crates/openhuman-core/src/flows/store.rs
@@ -45,9 +45,6 @@ pub(crate) fn run<T: Send + 'static>(
/// `flows.db`, `checkpoints.db` and the `drafts/` directory are all created
/// under it by the crate on first use.
pub fn dir(config: &Config) -> PathBuf {
- if let Some(docs) = documents(config)? {
- return run(async move { docs.dir().await });
- }
config.workspace_dir.join("flows")
}