Skip to content

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

fix(browser): reorder test-only imports to follow unconditional imports

Steven Enamakel1c345de4438c
diff --git a/crates/openhuman-core/src/tools/impl/browser/browser.rs b/crates/openhuman-core/src/tools/impl/browser/browser.rs
index 8d09044597..6314ebb8b3 100644
--- a/crates/openhuman-core/src/tools/impl/browser/browser.rs
+++ b/crates/openhuman-core/src/tools/impl/browser/browser.rs
@@ -16,12 +16,12 @@ use session_pool::{
#[cfg(test)]
use session_pool::{MAX_THREAD_SESSIONS, SESSION_IDLE_TTL};
use sha2::{Digest, Sha256};
+#[cfg(test)]
+use std::{collections::HashMap, time::Duration};
use std::{
sync::{Arc, Mutex as StdMutex},
time::Instant,
};
-#[cfg(test)]
-use std::{collections::HashMap, time::Duration};
use task_actions::{approve_task_action, parse_action, required, task_inputs};
use tinycomputer_bus::agent::{ContinueTaskRequest, TaskId, TaskStatus, TaskView};
use tinycomputer_bus::browser::{