Skip to content

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

style: format shell sandbox policy call

Steven Enamakel48007054cdc8
diff --git a/crates/openhuman-core/src/tools/impl/system/shell.rs b/crates/openhuman-core/src/tools/impl/system/shell.rs
index 0df9648b43..4fc56f5c4f 100644
--- a/crates/openhuman-core/src/tools/impl/system/shell.rs
+++ b/crates/openhuman-core/src/tools/impl/system/shell.rs
@@ -365,12 +365,14 @@ impl ShellTool {
// SaaS: every command runs in the user's container, whatever the
// agent's sandbox mode says, and never on the host.
let saas_action_dir = self.effective_action_dir_for_context(context);
- if let Some(resolved) = super::shell_saas::saas_sandbox_with(crate::core::runtime::is_saas(), || {
- crate::user_agents::tools::sandbox_policy(
- &saas_action_dir,
- &self.security.workspace_dir,
- )
- }) {
+ if let Some(resolved) =
+ super::shell_saas::saas_sandbox_with(crate::core::runtime::is_saas(), || {
+ crate::user_agents::tools::sandbox_policy(
+ &saas_action_dir,
+ &self.security.workspace_dir,
+ )
+ })
+ {
let action_dir = saas_action_dir;
return match resolved {
Ok(policy) => {