Skip to content

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

refactor(config): widen internal config module visibility

Steven Enamakel35fd8a1ac27b
diff --git a/crates/openhuman-core/src/config/schema/mod.rs b/crates/openhuman-core/src/config/schema/mod.rs
index 60cab1af0a..b7f79d0654 100644
--- a/crates/openhuman-core/src/config/schema/mod.rs
+++ b/crates/openhuman-core/src/config/schema/mod.rs
@@ -35,7 +35,7 @@ pub use storage::StorageConfig;
pub mod profile_layout;
pub use profile_layout::{users_dir, ProfileLayout};
mod identity_cost;
-mod load;
+pub(crate) mod load;
pub(crate) use load::config_from_toml_str;
pub(crate) use load::source::storage_schema::storage_schema as config_storage_schema;
pub use load::{
diff --git a/crates/openhuman-core/src/config/schema/types.rs b/crates/openhuman-core/src/config/schema/types.rs
index dff954704a..19a12fe8e8 100644
--- a/crates/openhuman-core/src/config/schema/types.rs
+++ b/crates/openhuman-core/src/config/schema/types.rs
@@ -12,6 +12,7 @@ mod resolvers;
mod time_zone;
pub use config::{Config, CustomEmbeddingsConfig, ModelRegistryEntry};
+pub(crate) use config::ConfigDocumentSnapshot;
pub use model_ids::{
is_legacy_tier_model, legacy_tier_role, DEFAULT_MODEL, LEGACY_TIER_MODELS,
MANAGED_MULTIMODAL_MODELS, MODEL_IMAGE_GENERATION_AGENT, MODEL_MANAGED_DEFAULT,