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(core): remove unused imports and code
Steven Enamakel32f06b2a4436
diff --git a/crates/openhuman-core/src/modules/storage_import_tinywallet.rs b/crates/openhuman-core/src/modules/storage_import_tinywallet.rsindex 70d88947d5..63832e4c39 100644--- a/crates/openhuman-core/src/modules/storage_import_tinywallet.rs+++ b/crates/openhuman-core/src/modules/storage_import_tinywallet.rs@@ -23,7 +23,6 @@use std::path::Path;use anyhow::{anyhow, Context, Result};-use serde_json::json;use tinystoragedrivers::ScopedStorage;use super::storage_grant_schemas::tinywallet::{MODULE_ID, PAYMENTS_STREAM};@@ -62,7 +61,6 @@ async fn import_into(scoped: &ScopedStorage,workspace_dir: &Path,) -> Result<Outcome> {- let docs = scoped.documents();let marker = support::marker_id("x402", workspace_dir);if support::already_imported(scoped, MARKER_COLLECTION, &marker).await? {return Ok(Outcome::AlreadyDone);diff --git a/crates/openhuman-core/src/web_chat/ops/channel_ops.rs b/crates/openhuman-core/src/web_chat/ops/channel_ops.rsindex a992f165f8..6c6721d50d 100644--- a/crates/openhuman-core/src/web_chat/ops/channel_ops.rs+++ b/crates/openhuman-core/src/web_chat/ops/channel_ops.rs@@ -13,7 +13,6 @@ use crate::web_chat::WebChannelEvent;use super::super::event_bus::publish_web_channel_event_in;use super::super::runner::{runtime, scope_of, CancelNote};use super::super::types::ChatRequestMetadata;-use super::start_chat::start_chat_with_stored_attachments;use crate::agent::queued_turn::StoredAttachmentInput;/// Cancel the in-flight turn(s) for a thread.diff --git a/crates/openhuman-core/src/web_chat/progress.rs b/crates/openhuman-core/src/web_chat/progress.rsindex 6890f47163..179172764a 100644--- a/crates/openhuman-core/src/web_chat/progress.rs+++ b/crates/openhuman-core/src/web_chat/progress.rs@@ -15,7 +15,6 @@ use std::time::Instant;use serde_json::json;use tinyagents_session::port::TurnStates;use tinyagents_session::turn_state::TurnStateMirror;-use tinychannels_bus::module_progressive::ChannelOutputEvent;use tinychannels_bus::web::{ChatRequestMetadata, TurnCostThrottle, TurnTimingSnapshot, TurnTimingState,};