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
test(core): update tests and module imports
Steven Enamakel1e4ff39b07be
diff --git a/crates/openhuman-core/src/channels/runtime/dispatch/processor/native_media_tests.rs b/crates/openhuman-core/src/channels/runtime/dispatch/processor/native_media_tests.rsindex f03fe49dd5..dc5f5a6b09 100644--- a/crates/openhuman-core/src/channels/runtime/dispatch/processor/native_media_tests.rs+++ b/crates/openhuman-core/src/channels/runtime/dispatch/processor/native_media_tests.rs@@ -153,7 +153,7 @@ fn module_media_scope_preserves_account_full_conversation_and_provider_turn() {id: "telegram".into(),account_id: None,},- ..envelope+ ..envelope.clone()};assert!(media_scope(&missing_account).is_err());diff --git a/crates/openhuman-core/src/threads/attachments/staged.rs b/crates/openhuman-core/src/threads/attachments/staged.rsindex df7ecb85dc..c6f4c6dd60 100644--- a/crates/openhuman-core/src/threads/attachments/staged.rs+++ b/crates/openhuman-core/src/threads/attachments/staged.rs@@ -32,7 +32,8 @@ pub(crate) use native::{mod native;#[cfg(test)]pub(super) use native::read_staged_file_bounded;-use native::{STAGED_COLLECTION, STAGED_DOMAIN, STAGED_TTL_SECS};+use native::STAGED_TTL_SECS;+pub(super) use native::{STAGED_COLLECTION, STAGED_DOMAIN};pub(super) fn staged_doc_id(opaque_id: &str) -> Result<String, String> {let uuid = uuid::Uuid::parse_str(opaque_id)diff --git a/crates/openhuman-core/src/threads/attachments_tests.rs b/crates/openhuman-core/src/threads/attachments_tests.rsindex 335dff2576..edbf1c590c 100644--- a/crates/openhuman-core/src/threads/attachments_tests.rs+++ b/crates/openhuman-core/src/threads/attachments_tests.rs@@ -1,3 +1,4 @@+use super::staged::{STAGED_COLLECTION, STAGED_DOMAIN};use super::*;fn image(media: MediaReference) -> ContentPart {diff --git a/crates/openhuman-core/src/web_chat/turn_host_tests.rs b/crates/openhuman-core/src/web_chat/turn_host_tests.rsindex 1b1701c431..e996bcff34 100644--- a/crates/openhuman-core/src/web_chat/turn_host_tests.rs+++ b/crates/openhuman-core/src/web_chat/turn_host_tests.rs@@ -1,4 +1,5 @@use super::*;+use crate::web_chat::turn_activity::TurnActivity;fn iteration() -> AgentProgress {AgentProgress::IterationStarted {