Skip to content

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

fix(config): dereference config before returning from load

Steven Enamakeldd7bd6fdaf2d
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 544a4c1193..6268ef79be 100644
--- a/crates/openhuman-core/src/config/schema/load/impl_load.rs
+++ b/crates/openhuman-core/src/config/schema/load/impl_load.rs
@@ -601,7 +601,7 @@ impl Config {
"Config loaded"
);
Box::pin(crate::config::migrations::run_pending(&mut config)).await;
- Ok(config)
+ Ok(*config)
}
/// Load config from the default user paths, bypassing the