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(tests): update type conversions in tests
Steven Enamakel4b5f7207ae8c
diff --git a/crates/openhuman-core/src/flows/caps_host/ops_tier_gate_and_timeouts_tests.rs b/crates/openhuman-core/src/flows/caps_host/ops_tier_gate_and_timeouts_tests.rsindex 6ea513db4c..47152197ea 100644--- a/crates/openhuman-core/src/flows/caps_host/ops_tier_gate_and_timeouts_tests.rs+++ b/crates/openhuman-core/src/flows/caps_host/ops_tier_gate_and_timeouts_tests.rs@@ -1,6 +1,6 @@use super::super::tier::{escalated_origin_for_nested_harness, escalated_origin_for_prompt};use super::*;-use crate::config::schema::tools::HttpRequestConfig;+use crate::config::HttpRequestConfig;use crate::security::GateDecision;use serde_json::json;use std::sync::Arc;diff --git a/crates/openhuman-core/src/memory/layout_migration/app_host_tests.rs b/crates/openhuman-core/src/memory/layout_migration/app_host_tests.rsindex e4263afaa7..adf0964628 100644--- a/crates/openhuman-core/src/memory/layout_migration/app_host_tests.rs+++ b/crates/openhuman-core/src/memory/layout_migration/app_host_tests.rs@@ -188,13 +188,13 @@ fn errors_keep_their_wire_codes_across_the_module_boundary() {Error::InsufficientCredits("hosted refusal without a code marker".into()),Error::Engine("x".into()),] {- let back = from_module(to_module(error.clone()));+ let back = from_module(to_module(error.clone().into()));assert_eq!(back.code(), error.code(), "{error:?}");assert_eq!(back.is_account_wide(), error.is_account_wide(), "{error:?}");}let credit_error = Error::InsufficientCredits("hosted refusal without a code marker".into());- let back = from_module(to_module(credit_error));- assert!(matches!(back, Error::InsufficientCredits(_)));+ let back = from_module(to_module(credit_error.into()));+ assert!(matches!(back, MemoryError::InsufficientCredits(_)));assert!(back.is_account_wide());}