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
fix(modules): skip storage callback reload when module is ready
Steven Enamakeld72dd14c20bc
diff --git a/crates/openhuman-core/src/modules/ops.rs b/crates/openhuman-core/src/modules/ops.rsindex e682ed9bca..e6d5306921 100644--- a/crates/openhuman-core/src/modules/ops.rs+++ b/crates/openhuman-core/src/modules/ops.rs@@ -242,6 +242,11 @@ async fn ensure_loaded_with_storage_callback() -> Result<(), String> {let mut loads = STORAGE_CALLBACK_LOADS.lock().await;if let Some((binding, _served)) = loads.get(id) {+ if matches!(state_of(id), ModuleState::Ready) {+ // Already serving with this binding: a binding is spent once the+ // module takes it, so re-presenting it would be refused.+ return Ok(());+ }let mut module_config = module_config(config, id);module_config["storage_callback"] = serde_json::json!(binding.unique_name().as_str());return resolver