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
chore(tests): remove unused imports from test modules
Steven Enamakel84226e8d22ff
diff --git a/crates/openhuman-core/src/agent/harness/harness_tests.rs b/crates/openhuman-core/src/agent/harness/harness_tests.rsindex dbe1e3da41..3ebe5dd9b3 100644--- a/crates/openhuman-core/src/agent/harness/harness_tests.rs+++ b/crates/openhuman-core/src/agent/harness/harness_tests.rs@@ -2,10 +2,7 @@ use super::credentials::scrub_credentials;use super::parse_tests::tools_to_openai_format;use crate::tools;use std::sync::Arc;-use tinytools_agent::{- extract_json_values, parse_arguments_value, parse_glm_style_tool_calls, parse_tool_call_value,- parse_tool_calls, parse_tool_calls_from_json_value,-};+use tinytools_agent::parse_tool_calls;fn build_tool_instructions(tools: &[Box<dyn tinytools::Tool>]) -> String {let specs = tools.iter().map(|tool| tool.spec()).collect::<Vec<_>>();diff --git a/crates/openhuman-core/src/agent/harness/parse_wire_tests.rs b/crates/openhuman-core/src/agent/harness/parse_wire_tests.rsindex 1b077f0d78..f8707a4fa0 100644--- a/crates/openhuman-core/src/agent/harness/parse_wire_tests.rs+++ b/crates/openhuman-core/src/agent/harness/parse_wire_tests.rs@@ -12,19 +12,6 @@//! fixtures its own tests assert against, and they never compiled into a//! production build even before the move.-#[cfg(test)]-use tinytools_agent::{extract_json_values, parse_tool_calls, parse_tool_calls_with_pformat};--// The rest of the crate's re-exports are only reached from this module's own-// tests (`tests.rs`) and `harness_gap_tests.rs`, not from any production call-// site — gated so a non-test build doesn't warn (and fail `-D warnings`) on-// them.-#[cfg(test)]-use tinytools_agent::{- parse_arguments_value, parse_glm_style_tool_calls, parse_tool_call_value,- parse_tool_calls_from_json_value,-};-#[cfg(test)]use crate::inference::provider::ToolCall;#[cfg(test)]diff --git a/crates/openhuman-core/src/agent/multimodal_tests.rs b/crates/openhuman-core/src/agent/multimodal_tests.rsindex bec4d28419..61c49722d8 100644--- a/crates/openhuman-core/src/agent/multimodal_tests.rs+++ b/crates/openhuman-core/src/agent/multimodal_tests.rs@@ -1,9 +1,5 @@use super::*;-// The adapter no longer imports these itself — the encoding lives in the crate-// now — but the tests still build fixture data by hand.-use base64::Engine as _;-// ── File-attachment marker tests ──────────────────────────────────────/// Minimal valid PDF that `pdf-extract` will round-trip. Generated bydiff --git a/crates/openhuman-core/src/agent/orchestration/worktree_tests.rs b/crates/openhuman-core/src/agent/orchestration/worktree_tests.rsindex 84d47996d9..b586d805f1 100644--- a/crates/openhuman-core/src/agent/orchestration/worktree_tests.rs+++ b/crates/openhuman-core/src/agent/orchestration/worktree_tests.rs@@ -3,7 +3,6 @@//! The git-worktree plumbing itself is tested in//! `vendor/tinyagents/crates/tinyagents-harness/src/workspace/git/test.rs`.-use super::*;use tinyagents_harness::workspace::GitWorktreeStatus;/// Pins the JSON-RPC wire shape of [`GitWorktreeStatus`].