Skip to content

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

refactor(tests): update toolpack imports

Steven Enamakel1dc02b33ca44
diff --git a/crates/openhuman-tinyhumans/src/inference/managed_model_stream_tests.rs b/crates/openhuman-tinyhumans/src/inference/managed_model_stream_tests.rs
index 83a472738b..eafc9289c4 100644
--- a/crates/openhuman-tinyhumans/src/inference/managed_model_stream_tests.rs
+++ b/crates/openhuman-tinyhumans/src/inference/managed_model_stream_tests.rs
@@ -128,10 +128,7 @@ async fn managed_stream_retries_a_proxy_completion_without_visible_text() {
seed_app_session(tmp.path());
let (addr, calls) = spawn_recovering_sse_proxy(first_delta).await;
let mut harness: AgentHarness<()> = AgentHarness::new();
- harness.register_model(
- "managed",
- std::sync::Arc::new(backend_pointed_at(&addr, tmp.path())),
- );
+ harness.with_model(std::sync::Arc::new(backend_pointed_at(&addr, tmp.path())));
harness.with_policy(RunPolicy {
empty_response_retries: 1,
..RunPolicy::default()
diff --git a/tests/raw_coverage/tools_erased_host_extension_raw_coverage_e2e.rs b/tests/raw_coverage/tools_erased_host_extension_raw_coverage_e2e.rs
index 8f7950404e..945d2d0470 100644
--- a/tests/raw_coverage/tools_erased_host_extension_raw_coverage_e2e.rs
+++ b/tests/raw_coverage/tools_erased_host_extension_raw_coverage_e2e.rs
@@ -22,7 +22,7 @@ use serde_json::json;
use openhuman_core::tools::host_extensions::pack_registry_handle;
use openhuman_core::tools::toolpacks::registry::{CATALOG, PACKS};
-use tinyagents_harness::tool::packs::{PackRegistryHandle, UseSkillTool};
+use tinyagents_harness_tools::skills::{PackRegistryHandle, UseSkillTool};
use tinytools::Tool;
/// A production pack tool's registry handle survives the round trip through