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
feat(agent): extend allowed web tools to include web_answer_tool and web_contents_tool
Steven Enamakel5eef7e6cadc4
diff --git a/crates/openhuman-core/src/agent/orchestration/workflow_runs/host.rs b/crates/openhuman-core/src/agent/orchestration/workflow_runs/host.rsindex 532d9f3070..ebecef1505 100644--- a/crates/openhuman-core/src/agent/orchestration/workflow_runs/host.rs+++ b/crates/openhuman-core/src/agent/orchestration/workflow_runs/host.rs@@ -79,7 +79,12 @@ impl OpenHumanWorkflowExecutor {))})?;let allowed_named_tool =- |tool: &str| matches!(tool, "web_search_tool" | "web_fetch");+ |tool: &str| {+ matches!(+ tool,+ "web_search_tool" | "web_answer_tool" | "web_contents_tool" | "web_fetch"+ )+ };let read_only = matches!(definition.sandbox_mode, SandboxMode::ReadOnly)|| matches!(&definition.tools, ToolScope::Named(tools) if tools.iter().all(|tool| allowed_named_tool(tool)));if read_only {diff --git a/crates/openhuman-core/src/agent/tinyagents/middleware/research_budget.rs b/crates/openhuman-core/src/agent/tinyagents/middleware/research_budget.rsindex 8b013c9620..511ff26e1a 100644--- a/crates/openhuman-core/src/agent/tinyagents/middleware/research_budget.rs+++ b/crates/openhuman-core/src/agent/tinyagents/middleware/research_budget.rs@@ -43,7 +43,10 @@ impl Middleware<(), OpenHumanRunContext> for ResearchBudgetMiddleware {invocation: &ToolInvocationIdentity,_result: &mut ToolResult,) -> TaResult<()> {- if matches!(invocation.tool_name(), "web_search_tool" | "web_fetch") {+ if matches!(+ invocation.tool_name(),+ "web_search_tool" | "web_answer_tool" | "web_contents_tool" | "web_fetch"+ ) {self.completed_reads.fetch_add(1, Ordering::Relaxed);}Ok(())