Skip to content

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

fix: add missing `Ordering` import and document `run_command`

Steven Enamakel951c495b6dea
diff --git a/crates/openhuman-core/src/security/credentials/profiles.rs b/crates/openhuman-core/src/security/credentials/profiles.rs
index 7775c3ea2b..25d27dfc79 100644
--- a/crates/openhuman-core/src/security/credentials/profiles.rs
+++ b/crates/openhuman-core/src/security/credentials/profiles.rs
@@ -12,7 +12,7 @@ use std::thread;
use std::time::Duration;
#[cfg(test)]
-use std::sync::atomic::{AtomicBool, AtomicUsize};
+use std::sync::atomic::{AtomicBool, AtomicUsize, Ordering};
#[cfg(test)]
use std::sync::Arc;
diff --git a/crates/openhuman-core/src/tools/impl/browser/browser_execution.rs b/crates/openhuman-core/src/tools/impl/browser/browser_execution.rs
index d8a34cd13c..865ccdcdfd 100644
--- a/crates/openhuman-core/src/tools/impl/browser/browser_execution.rs
+++ b/crates/openhuman-core/src/tools/impl/browser/browser_execution.rs
@@ -3,6 +3,7 @@
use super::*;
impl BrowserTool {
+ /// Execute an agent-browser command
async fn run_command(&self, args: &[&str]) -> anyhow::Result<AgentBrowserResponse> {
let mut cmd = Command::new("agent-browser");