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-core/src/flows/tinyflows/caps/http.rs,crates/openhuman-core/sr

Steven Enamakel160606b99bfc
diff --git a/crates/openhuman-core/src/flows/tinyflows/caps/http.rs b/crates/openhuman-core/src/flows/tinyflows/caps/http.rs
index d376894ca0..c9d6e17d4d 100644
--- a/crates/openhuman-core/src/flows/tinyflows/caps/http.rs
+++ b/crates/openhuman-core/src/flows/tinyflows/caps/http.rs
@@ -45,6 +45,8 @@ use tinytools::Tool as _;
pub struct OpenHumanHttp {
/// The context the run acts under, handed over by whoever started it.
pub ctx: crate::core::runtime::DispatchCtx,
+ /// The run's config snapshot, used to reload its anchored autonomy tier.
+ pub config: Arc<Config>,
pub security: Arc<SecurityPolicy>,
pub http_config: HttpRequestConfig,
pub http_creds: Arc<HttpCredentialsStore>,
diff --git a/crates/openhuman-core/src/flows/tinyflows/caps/ops.rs b/crates/openhuman-core/src/flows/tinyflows/caps/ops.rs
index 825befc7e3..8310ca0f86 100644
--- a/crates/openhuman-core/src/flows/tinyflows/caps/ops.rs
+++ b/crates/openhuman-core/src/flows/tinyflows/caps/ops.rs
@@ -652,6 +652,7 @@ pub fn build_capabilities(
}),
http: Arc::new(OpenHumanHttp {
ctx: ctx.clone(),
+ config: config.clone(),
security: security.clone(),
http_config,
http_creds,