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
fix(tools): key pooled browser sessions by the agent's scope and thread (#7032)
oxoxDev4c29328cc249
diff --git a/crates/openhuman-core/src/tools/impl/browser/browser.rs b/crates/openhuman-core/src/tools/impl/browser/browser.rsindex 5edd81add7..64acacc4f7 100644--- a/crates/openhuman-core/src/tools/impl/browser/browser.rs+++ b/crates/openhuman-core/src/tools/impl/browser/browser.rs@@ -523,10 +523,8 @@ impl Tool for BrowserTool {context: Option<&dyn ToolRunContext>,) -> anyhow::Result<ToolResult> {if let Some(thread_id) = context.and_then(ToolRunContext::thread_id) {- let key = format!(- "{}:{thread_id}",- self.client.config().workspace_dir.display()- );+ let scope = crate::core::runtime::agent_scope_dir(self.client.config());+ let key = format!("{}:{thread_id}", scope.display());if let Ok(mut held) = self.thread_key.lock() {*held = Some(key);}