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
style: reformat long expressions to satisfy line width
Steven Enamakeld0ecd48ea5d7
diff --git a/crates/openhuman-core/src/inference/auth_error_registry.rs b/crates/openhuman-core/src/inference/auth_error_registry.rsindex 1502a39c28..cef4d07992 100644--- a/crates/openhuman-core/src/inference/auth_error_registry.rs+++ b/crates/openhuman-core/src/inference/auth_error_registry.rs@@ -183,9 +183,8 @@ fn origins() -> &'static Mutex<HashMap<String, ErrorOrigins>> {}fn current_scope() -> CurrentScope {- let Some(context) = crate::core::runtime::tenant::context_in(- crate::core::runtime::is_saas(),- ) else {+ let Some(context) = crate::core::runtime::tenant::context_in(crate::core::runtime::is_saas())+ else {return CurrentScope::Unbound;};match context.workspace_config_binding() {diff --git a/crates/openhuman-core/src/threads/ops/purge.rs b/crates/openhuman-core/src/threads/ops/purge.rsindex 0f2440bd8b..8fd3e66fe2 100644--- a/crates/openhuman-core/src/threads/ops/purge.rs+++ b/crates/openhuman-core/src/threads/ops/purge.rs@@ -37,11 +37,12 @@ whereFut: std::future::Future<Output = ()> + Send,{let admission_workspace = dir.clone();- let _admission = ctx.spawn_blocking(move || {- crate::threads::store::backend::begin_thread_purge(&admission_workspace)- })- .await- .map_err(|error| format!("failed to close thread admission for purge: {error}"))?;+ let _admission = ctx+ .spawn_blocking(move || {+ crate::threads::store::backend::begin_thread_purge(&admission_workspace)+ })+ .await+ .map_err(|error| format!("failed to close thread admission for purge: {error}"))?;// Capture and fence the parents before deleting their rows. The owner// index is keyed by thread, and the permanent fence prevents another child