Skip to content

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

fix(ops): correct domain family test to use valid domain

Steven Enamakele89f788646c3
diff --git a/crates/openhuman-core/src/tools/ops.rs b/crates/openhuman-core/src/tools/ops.rs
index c85006293a..7d6b2604d2 100644
--- a/crates/openhuman-core/src/tools/ops.rs
+++ b/crates/openhuman-core/src/tools/ops.rs
@@ -12,6 +12,11 @@ use tinytools::Tool;
#[cfg(test)]
use tinytools::{ToolResult, ToolSpec};
use tinytools_std::detect_tools::DetectToolsTool;
+use tinytools_std::filesystem::{
+ ApplyPatchTool, CsvExportTool, EditFileTool, FileReadTool, FileWriteTool, GitOperationsTool,
+ GlobTool, GrepTool, ListFilesTool, ReadDiffTool, RunLinterTool, RunTestsTool,
+ UpdateMemoryMdTool,
+};
pub(crate) use super::capability::tool_capability;
@@ -457,13 +462,13 @@ pub fn all_tools_with_runtime(
// diff, lint and test the working tree in the action sandbox. They
// were defined but never registered, so the belts naming them held
// nothing. `Deferred`, so they cost no schema until found.
- Box::new(crate::tools::implementations::ReadDiffTool::new(
+ Box::new(ReadDiffTool::new(
action_dir.to_path_buf(),
)),
- Box::new(crate::tools::implementations::RunLinterTool::new(
+ Box::new(RunLinterTool::new(
action_dir.to_path_buf(),
)),
- Box::new(crate::tools::implementations::RunTestsTool::new(
+ Box::new(RunTestsTool::new(
action_dir.to_path_buf(),
)),
Box::new(PushoverTool::new(
diff --git a/crates/openhuman-core/src/tools/ops_tests_domain_family_tests.rs b/crates/openhuman-core/src/tools/ops_tests_domain_family_tests.rs
index 7e3cd893cf..d720406ff9 100644
--- a/crates/openhuman-core/src/tools/ops_tests_domain_family_tests.rs
+++ b/crates/openhuman-core/src/tools/ops_tests_domain_family_tests.rs
@@ -1,4 +1,5 @@
use super::*;
+use tinytools_std::filesystem::{ApplyPatchTool, CsvExportTool};
#[tokio::test]
async fn all_tools_executes_stock_and_twilio_family_against_fake_backend() {