Skip to content

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

chore(agent): remove unused imports

Steven Enamakelcb3c7bce0a05
diff --git a/crates/openhuman-core/src/agent/session_host/builder/factory.rs b/crates/openhuman-core/src/agent/session_host/builder/factory.rs
index 57386167df..7627b5556d 100644
--- a/crates/openhuman-core/src/agent/session_host/builder/factory.rs
+++ b/crates/openhuman-core/src/agent/session_host/builder/factory.rs
@@ -1,6 +1,6 @@
//! `OpenHumanSessionHost::from_config` factory methods and internal `build_session_agent_inner` constructor.
-use super::{factory_resolution::provider_role_for_definition, should_synthesize_delegation_tools};
+use super::should_synthesize_delegation_tools;
use crate::agent::prompts::SystemPromptBuilder;
use crate::agent::session_host::types::OpenHumanSessionHost;
use crate::agent_registry::host_definition::{
diff --git a/crates/openhuman-core/src/agent/subagent_host/lifecycle.rs b/crates/openhuman-core/src/agent/subagent_host/lifecycle.rs
index 6ea5e6578c..52357e63c7 100644
--- a/crates/openhuman-core/src/agent/subagent_host/lifecycle.rs
+++ b/crates/openhuman-core/src/agent/subagent_host/lifecycle.rs
@@ -10,7 +10,6 @@ use std::{
sync::{Arc, Mutex},
};
use tinyagents_harness::context::{RunConfig, RunContext};
-use tinyagents_harness::tool::ToolSnapshot;
use tinyagents_orchestration::subagent::{
ArtifactReference, PreparedSubagent, SubagentCapabilities, SubagentDriver, SubagentError,
SubagentExecution, SubagentExecutor, SubagentIncomplete, SubagentOutcome, SubagentOutcomeKind,