The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
chore: files changed crates/openhuman-core/src/flows/tinyflows/caps/http.rs
Steven Enamakel07a4ab3e0cca
diff --git a/crates/openhuman-core/src/flows/tinyflows/caps/http.rs b/crates/openhuman-core/src/flows/tinyflows/caps/http.rsindex c9d6e17d4d..8d5eb86493 100644--- a/crates/openhuman-core/src/flows/tinyflows/caps/http.rs+++ b/crates/openhuman-core/src/flows/tinyflows/caps/http.rs@@ -179,14 +179,9 @@ impl HttpClient for OpenHumanHttp {// `gate_call_for_tier` is what actually performs the `Prompt` round-trip// — it escalates a Supervised `Prompt` decision into a forced approval// regardless of the flow's own `require_approval` toggle (Codex P1).- let tier_decision = enforce_current_node_tier_gate(- &self.ctx,- &self.config,- &self.security,- CommandClass::Network,- "http_request",- )- .await?;+ let security = Arc::new(current_tier_policy(&self.ctx, &self.config, &self.security).await?);+ let tier_decision =+ enforce_node_tier_gate(&security, CommandClass::Network, "http_request")?;// The approval gate summarizes/redacts the request BEFORE any credential// is injected, so a stored secret never lands in the approval UI or@@ -215,7 +210,7 @@ impl HttpClient for OpenHumanHttp {let tool = http_request_tool(&self.ctx,- self.security.clone(),+ security,self.http_config.allowed_domains.clone(),self.http_config.max_response_size,self.http_config.timeout_secs,