Skip to content

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

chore: files changed crates/openhuman-embed/src/agent/build_tests.rs

Steven Enamakel967104ed8f16
diff --git a/crates/openhuman-embed/src/agent/build_tests.rs b/crates/openhuman-embed/src/agent/build_tests.rs
index cbc9a97dea..c0f57cfb9f 100644
--- a/crates/openhuman-embed/src/agent/build_tests.rs
+++ b/crates/openhuman-embed/src/agent/build_tests.rs
@@ -45,6 +45,11 @@ async fn config_fn_final_autonomy_is_captured_on_the_built_agent_context() {
.build()
.await
.expect("runtime with a file-backed ReadOnly config");
+ assert_eq!(
+ runtime.core_runtime().context().autonomy_tier_source(),
+ AutonomyTierSource::Captured,
+ "a CoreBuilder::config snapshot remains bound to its in-memory tier"
+ );
let agent = runtime
.agent(crate::AgentSpec::new("config-fn-tier").config(|effective| {
effective.autonomy.enabled = true;