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
refactor: remove unused imports across multiple modules
Steven Enamakel946ba4582112
diff --git a/crates/openhuman-core/src/agent/orchestration/running_subagents/cancel.rs b/crates/openhuman-core/src/agent/orchestration/running_subagents/cancel.rsindex 390b1ff013..38498c31ff 100644--- a/crates/openhuman-core/src/agent/orchestration/running_subagents/cancel.rs+++ b/crates/openhuman-core/src/agent/orchestration/running_subagents/cancel.rs@@ -8,7 +8,7 @@ use std::path::{Path, PathBuf};use tinyagents_harness::ids::TaskId;use super::registry::{registry, SubagentStatus};-use super::resolve::{task_id_for_session, task_id_for_session_in_workspace};+use super::resolve::task_id_for_session_in_workspace;use super::task_ledger::record_cancelled;/// Metadata captured when a sub-agent is cancelled, so the caller can surfacediff --git a/crates/openhuman-core/src/agent/session_host/turn/tools.rs b/crates/openhuman-core/src/agent/session_host/turn/tools.rsindex c05f877cb7..ea4d2f95ff 100644--- a/crates/openhuman-core/src/agent/session_host/turn/tools.rs+++ b/crates/openhuman-core/src/agent/session_host/turn/tools.rs@@ -2,7 +2,6 @@use super::super::types::OpenHumanSessionHost;use super::newly_connected_slugs;-use crate::agent::harness;use crate::agent::progress::AgentProgress;use std::sync::Arc;diff --git a/crates/openhuman-core/src/agent/tinyagents/host/delegation.rs b/crates/openhuman-core/src/agent/tinyagents/host/delegation.rsindex 8246102692..5be06eccc0 100644--- a/crates/openhuman-core/src/agent/tinyagents/host/delegation.rs+++ b/crates/openhuman-core/src/agent/tinyagents/host/delegation.rs@@ -45,8 +45,6 @@use std::future::Future;use std::sync::Arc;-use serde_json::Value;-use super::super::observability::GraphTracingSink;use tinyagents_graph::delegation::{diff --git a/crates/openhuman-core/src/agent/tinyagents/model.rs b/crates/openhuman-core/src/agent/tinyagents/model.rsindex 01d34e87d0..37b763468d 100644--- a/crates/openhuman-core/src/agent/tinyagents/model.rs+++ b/crates/openhuman-core/src/agent/tinyagents/model.rs@@ -3,16 +3,14 @@use std::sync::{Arc, Mutex};use async_trait::async_trait;-use tinyinference_llm::message::{AssistantMessage, ContentBlock, MessageDelta};+use tinyinference_llm::message::{AssistantMessage, ContentBlock};use tinyinference_llm::model::{ChatModel, ModelProfile, ModelRequest, ModelResponse, ModelStream, ModelStreamItem,};-use tinyinference_llm::tool::{ToolCall as TaToolCall, ToolDelta};+use tinyinference_llm::tool::{ToolCall as TaToolCall};use tinyinference_llm::usage::Usage;-use tokio::sync::mpsc::UnboundedSender;-use crate::agent::messages::ChatMessage;-use crate::inference::provider::{ChatResponse, ProviderDelta, UsageInfo};+use crate::inference::provider::{ChatResponse, UsageInfo};pub(super) type TurnChatModel = Arc<dyn ChatModel<()>>;pub(super) type TierRoutes = Vec<(String, TurnChatModel)>;diff --git a/crates/openhuman-core/src/flows/tinyflows/observability_tests.rs b/crates/openhuman-core/src/flows/tinyflows/observability_tests.rsindex 30f8f2658a..65f85640e2 100644--- a/crates/openhuman-core/src/flows/tinyflows/observability_tests.rs+++ b/crates/openhuman-core/src/flows/tinyflows/observability_tests.rs@@ -1,6 +1,4 @@use super::*;-use serde_json::Value;-use tinyflows::observability::RunStatus;#[test]fn step_status_maps_to_stable_strings() {