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(core): reorder imports and drop trailing blank line
Steven Enamakele118a3bd1d9e
diff --git a/crates/openhuman-core/src/agent/queued_turn.rs b/crates/openhuman-core/src/agent/queued_turn.rsindex ba8c1c63a0..71835028ef 100644--- a/crates/openhuman-core/src/agent/queued_turn.rs+++ b/crates/openhuman-core/src/agent/queued_turn.rs@@ -4,8 +4,8 @@//! selects how this payload is consumed. OpenHuman retains the web and//! orchestration metadata needed to dispatch a deferred follow-up turn.-use tinyagents_harness::turn_runner::{QueueDisposition, RequeuePayload, ScopeKey, TurnRequest};use std::sync::Arc;+use tinyagents_harness::turn_runner::{QueueDisposition, RequeuePayload, ScopeKey, TurnRequest};/// The host metadata one OpenHuman turn carries through TinyAgents' turn/// runner and its run queue: which client asked, the per-message model anddiff --git a/crates/openhuman-core/src/agent/turn_host.rs b/crates/openhuman-core/src/agent/turn_host.rsindex 860d7a4076..db73080b42 100644--- a/crates/openhuman-core/src/agent/turn_host.rs+++ b/crates/openhuman-core/src/agent/turn_host.rs@@ -6,7 +6,7 @@use std::{sync::Arc, time::Duration};-use tinyagents_harness::{CancellationToken, run_queue::RunQueue};+use tinyagents_harness::{run_queue::RunQueue, CancellationToken};use tokio::sync::mpsc;use crate::{@@ -15,7 +15,7 @@ use crate::{queued_turn::QueuedTurn,session_host::OpenHumanSessionHost,turn_env::HostTurnEnv,- turn_origin::{AgentTurnOrigin, with_origin},+ turn_origin::{with_origin, AgentTurnOrigin},},security::approval::ApprovalTurnContext,};@@ -102,4 +102,3 @@ impl AgentTurnHost {.await}}-diff --git a/crates/openhuman-core/src/web_chat/turn_host.rs b/crates/openhuman-core/src/web_chat/turn_host.rsindex 31f30ca3cf..c82abd4219 100644--- a/crates/openhuman-core/src/web_chat/turn_host.rs+++ b/crates/openhuman-core/src/web_chat/turn_host.rs@@ -16,19 +16,19 @@ use std::sync::Arc;use std::time::Duration;use async_trait::async_trait;-use tinyagents_harness::CancellationToken;use tinyagents_harness::run_queue::RunQueue;use tinyagents_harness::turn_runner::{QueueDisposition, TurnHost, TurnRequest, TurnResult, TurnSession, TurnSignal, WorkTracker,};+use tinyagents_harness::CancellationToken;use tinyinference_llm::failure::is_empty_provider_response_text;-use tokio::sync::{Mutex as AsyncMutex, mpsc, watch};+use tokio::sync::{mpsc, watch, Mutex as AsyncMutex};use super::ops::{self, BudgetCorrelation};-use super::progress::{INFERENCE_HEARTBEAT_SECS, ProgressProjection};+use super::progress::{ProgressProjection, INFERENCE_HEARTBEAT_SECS};use super::runner::{Admission, Shared};use super::session::{- CheckoutPolicy, checkin_session_agent, checkout_session_agent, normalize_model_override,+ checkin_session_agent, checkout_session_agent, normalize_model_override, CheckoutPolicy,};use super::surface::TurnIds;use super::turn_activity::TurnActivity;