Skip to content

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

chore(config): move config source parsing doc comment

Steven Enamakela50f8e81ddd9
diff --git a/crates/openhuman-core/src/config/schema/load/impl_load.rs b/crates/openhuman-core/src/config/schema/load/impl_load.rs
index feda6acd0a..fa4af5a687 100644
--- a/crates/openhuman-core/src/config/schema/load/impl_load.rs
+++ b/crates/openhuman-core/src/config/schema/load/impl_load.rs
@@ -140,4 +140,3 @@ pub(super) async fn read_config_with_recovery_or_default(
}
}
-/// Parse the text a [`ConfigSource`](super::source::ConfigSource) returned.
diff --git a/crates/openhuman-core/src/config/schema/load/parse_source.rs b/crates/openhuman-core/src/config/schema/load/parse_source.rs
index ad925be1bf..7e474e85e9 100644
--- a/crates/openhuman-core/src/config/schema/load/parse_source.rs
+++ b/crates/openhuman-core/src/config/schema/load/parse_source.rs
@@ -1,3 +1,9 @@
+use anyhow::Result;
+use std::path::Path;
+
+use super::super::Config;
+
+/// Parse the text a [`ConfigSource`](super::source::ConfigSource) returned.
///
/// A file keeps its recovery: a body that does not parse falls back to the
/// `.bak` next to it, then to defaults. A document is parsed strictly and a