Skip to content

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

fix(config): use embedder_config accessor in saas scope

Steven Enamakele29f2305fc00
diff --git a/crates/openhuman-core/src/config/schema/load/saas_scope.rs b/crates/openhuman-core/src/config/schema/load/saas_scope.rs
index 2d1c9122c4..9a1948778d 100644
--- a/crates/openhuman-core/src/config/schema/load/saas_scope.rs
+++ b/crates/openhuman-core/src/config/schema/load/saas_scope.rs
@@ -16,7 +16,7 @@ pub(super) fn saas_scoped_config() -> Option<anyhow::Result<Config>> {
crate::core::runtime::is_saas(),
// The task's own scope only: falling back to the process default
// would hand a task that lost its user scope the operator's config.
- crate::core::runtime::CoreContext::scoped().and_then(|ctx| ctx.embedder_config.clone()),
+ crate::core::runtime::CoreContext::scoped().and_then(|ctx| ctx.embedder_config().cloned()),
)
}