Skip to content

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

fix(tests): remove unused imports in orchestration tool tests

Steven Enamakel6e6c6896802e
diff --git a/crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent_tests.rs b/crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent_tests.rs
index 9dd2d673d6..88c61edebc 100644
--- a/crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent_tests.rs
+++ b/crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent_tests.rs
@@ -147,7 +147,7 @@ fn async_reference_matches_the_orchestrator_fleet_vocabulary() {
let payload = async_subagent_ref_payload(
"sub-123",
"subsess-456",
- "integrations_agent",
+ "researcher",
None,
false,
"created",
@@ -196,7 +196,7 @@ fn async_reference_matches_the_orchestrator_fleet_vocabulary() {
.iter()
.any(|a| a.contains("delivered to you automatically")));
- let message = format_async_subagent_accepted("integrations_agent", &serialized, &fleet);
+ let message = format_async_subagent_accepted("researcher", &serialized, &fleet);
let prose = message.split("[async_subagent_ref]").next().unwrap();
assert!(prose.contains("delivered to you automatically"));
assert!(!prose.contains("wait for completion"));
diff --git a/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_tests.rs b/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_tests.rs
index 4120203d8d..3b57800090 100644
--- a/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_tests.rs
+++ b/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_tests.rs
@@ -416,7 +416,7 @@ fn parent_context(
ParentExecutionContext {
workspace_descriptor: None,
agent_definition_id: "orchestrator".into(),
- allowed_subagent_ids: ["researcher".to_string(), "integrations_agent".to_string()]
+ allowed_subagent_ids: ["researcher".to_string()]
.into_iter()
.collect(),
turn_model_source: crate::agent::tinyagents::TurnModelSource::from_model(model),